Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(volo-http): refactor client target #470

Merged
merged 1 commit into from
Jul 16, 2024

Conversation

yukiiiteru
Copy link
Member

Motivation

The previous Target implementation was confusing and complicated.

Solution

We refactored Target to support chain calls, which is more elegant and easy to use.

In addition, we removed TypeMap and FastStrMap in Target and added CallOpt. Its usage is similar, but it is simpler and more elegant.

@yukiiiteru yukiiiteru requested review from a team as code owners July 15, 2024 13:27
Since the previous `Target` implementation was confusing and
complicated, we refactored `Target` to support chain calls, which is
more elegant and easy to use.

In addition, we removed `TypeMap` and `FastStrMap` in `Target` and
added `CallOpt`. Its usage is similar, but it is simpler and more
elegant.

Signed-off-by: Yu Li <[email protected]>
@yukiiiteru yukiiiteru force-pushed the chore/refactor-client-target branch from 21f76ff to fb340cc Compare July 15, 2024 13:33
@yukiiiteru yukiiiteru merged commit 77e35bb into cloudwego:main Jul 16, 2024
13 of 14 checks passed
@yukiiiteru yukiiiteru deleted the chore/refactor-client-target branch July 16, 2024 02:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants