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

feat: support TextMarshaller for map key #328

Merged
merged 1 commit into from
Nov 11, 2023
Merged

feat: support TextMarshaller for map key #328

merged 1 commit into from
Nov 11, 2023

Conversation

nrwiersma
Copy link
Member

@nrwiersma nrwiersma commented Nov 11, 2023

This PR adds support to TextMarshaller/TextUnmarshaller for Map keys.

Note: For this to work on the decode, the type used must be a pointer in order to implement the TextUnmarshaller interface.

Fixes #327

@nrwiersma nrwiersma self-assigned this Nov 11, 2023
@nrwiersma nrwiersma merged commit 8c60780 into main Nov 11, 2023
2 checks passed
@nrwiersma nrwiersma deleted the map branch November 11, 2023 04:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Support TextMarshaler/TextUnmarshaler for map keys
1 participant