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

Simplify API for users and also simplify internal usage #4

Merged
merged 2 commits into from Dec 7, 2023
Merged

Conversation

normanmaurer
Copy link
Member

Motivation:

How the user was suposed to use the OHttp*Codec was more complicated then needed. We can simplify things a lot by merging some classes and only expose things to the enduser that really matters.

Modifications:

  • Merge serializer and parser
  • Make OHttpClientCodec non abstract and just let the user pass in a Function
  • Simplify both codecs

Result:

Simpler API

Motivation:

How the user was suposed to use the OHttp*Codec was more complicated then needed. We can simplify things a lot by merging some classes and only expose things to the enduser that really matters.

Modifications:

- Merge serializer and parser
- Make OHttpClientCodec non abstract and just let the user pass in a Function
- Simplify both codecs

Result:

Simpler API
@normanmaurer
Copy link
Member Author

@thomdev PTAL

@normanmaurer normanmaurer added this to the 0.0.1.Final milestone Dec 6, 2023
Copy link
Collaborator

@thomdev thomdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@normanmaurer normanmaurer merged commit 6ccae52 into main Dec 7, 2023
5 checks passed
@normanmaurer normanmaurer deleted the merge branch December 8, 2023 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants