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

refactor(encoder)!: add NewStream to replace StreamEncoder() method #540

Merged
merged 3 commits into from
Mar 14, 2025

Conversation

muktihari
Copy link
Owner

StreamEncoder() method in my opinion is less discoverable, it's a bit weird to instantiate new different object through a method. The new func constructor NewStream is explicit and clearer.

@muktihari muktihari added this to the v0.25.0 milestone Mar 14, 2025
@muktihari muktihari self-assigned this Mar 14, 2025
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (79df704) to head (628434a).

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #540   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           42        42           
  Lines         4596      4596           
=========================================
  Hits          4596      4596           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@muktihari muktihari merged commit c001409 into master Mar 14, 2025
5 checks passed
@muktihari muktihari deleted the feat/encoder-add-new-stream-constructor branch March 14, 2025 00:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants