-
Notifications
You must be signed in to change notification settings - Fork 807
Add support for Maps to the reflect_codec #1790
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
Merged
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
141c015
Add support for Maps to the reflect_codec
nytzuga a62648b
Improving error handling
nytzuga f021581
Minor code improvement
nytzuga a16733d
Update codec/reflectcodec/type_codec.go
nytzuga ecfc715
Optimization
nytzuga 41beb2d
Add advanced tests.
nytzuga 43e22c8
Add support for Maps that are Nil
nytzuga d6558b8
Fixed typos
nytzuga 6b16a58
Serialize nil map as empty
nytzuga 87fd312
Fix typo in the test
nytzuga 0492e6e
Add more complex map examples
nytzuga 7653b46
Minor improvements recommended by @danlaine
nytzuga bbed966
Check map keys are sorted at deserializing
nytzuga 93fcad4
Update docs
nytzuga 586a3c0
nits for add support for map into reflectcodec (#1812)
18980c4
add test component
6540a8b
test nits
442d929
test nits
f577cde
Improve key serialization and sorting
nytzuga fcdd013
Use Max from safe_math instead of creating yet another function
nytzuga 6482e41
Update `p` reference to `keyPacker`.
nytzuga 01f0917
Add more tests
nytzuga 97069c8
Add constSize optimization
nytzuga 71e3693
Update codec/reflectcodec/type_codec.go
nytzuga f963eca
Add test to serialize maps with interface{} as their key and value
nytzuga 287b05f
Fix linting issue
nytzuga 5c97b9b
Map reflect fixes (#1842)
StephenButtolph 0fb027c
Merge branch 'dev' into add-support-for-map-into-reflectcodec
StephenButtolph c5b33f9
Merge branch 'dev' into add-support-for-map-into-reflectcodec
StephenButtolph 374bbe7
Update codec/test_codec.go
nytzuga bfead56
Remove second packer (#1844)
StephenButtolph f393d38
Remove ref
StephenButtolph File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.