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: move validations in encodeMessages to validateMessages #492

Merged
merged 3 commits into from
Oct 11, 2024

Conversation

muktihari
Copy link
Owner

  • Move validations that are still reside in encodeMessages into validateMessages for consistency and separation of concerns.
  • Improve encoder's test readability by moving table test creation from outside test function into inner test function.

@muktihari muktihari added the chore update not related to the functionality of the sdk, e.g. update workflow label Oct 11, 2024
@muktihari muktihari added this to the Unreleased milestone Oct 11, 2024
@muktihari muktihari self-assigned this Oct 11, 2024
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (f20393c) to head (84103bf).

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

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

@muktihari muktihari changed the title Chore/clean up encoder chore: move validations in encodeMessages to validateMessages Oct 11, 2024
@muktihari muktihari merged commit 0c00a23 into master Oct 11, 2024
5 checks passed
@muktihari muktihari deleted the chore/clean-up-encoder branch October 11, 2024 12:39
@muktihari muktihari added this to the v0.24.4 milestone Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore update not related to the functionality of the sdk, e.g. update workflow
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants