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

Allow map keys starting with a digit #113

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lukasschlueter
Copy link

This enables the use of uuids (and uuid-like values) as map keys.
Previously, deserialization would fail if the uuid started with a digit (while uuids starting with letters worked fine).

I decided to still return the orginal ParseIntError.
While this leads to worse error messages for the newly-allowed map keys, this way the change should affect sequences the least.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant