-
Notifications
You must be signed in to change notification settings - Fork 114
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
feat: replace
and replaceGet
map methods & refactor of codegen and testing
#941
Conversation
replace
and replaceGet
map methods
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool stuff! Let's do the suggested refactoring. And also add some simple docs, unless @novusnota is willing to volunteer to help with that
Yup, will do |
replace
and replaceGet
map methodsreplace
and replaceGet
map methods and refactor map.ts
@anton-trunov @jeshecdom have a look please! map tests are now extremely large and slow so I want to refactor them completely in a separate PR after this one gets merged. |
replace
and replaceGet
map methods and refactor map.ts
replace
and replaceGet
map methods & refactor of codegen and testing
@anton-trunov @jeshecdom have a look at the final tests please! not added a few special cases from the original implementation yet, but all the operations are tested now on multiple sets of key-value pairs. just want to make sure to include all the important scenarios. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The tests are awesome! I just added a small comment below.
Co-authored-by: Anton Trunov <anton.a.trunov@gmail.com>
…key-value combinations and all methods
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests LGTM.
Issue
Closes #538.
Checklist
docs/
and made the build locally