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

fix:encapsulating to escape empty-string-as-root instances #30

Closed
wants to merge 1 commit into from

Conversation

brettz9
Copy link
Collaborator

@brettz9 brettz9 commented Dec 29, 2022

fix: encapsulate to escape empty-string-as-root instances and revive in an empty-string-aware manner; fixes dfahlander/typeson-registry#25

BREAKING CHANGE:

Empty string now may only reference root object when encapsulated and at top of $: {}

…in an empty-string-aware manner; fixes dfahlander/typeson-registry#25

BREAKING CHANGE:

Empty string now may only reference root object when encapsulated and at top of `$: {}`
@brettz9
Copy link
Collaborator Author

brettz9 commented Dec 31, 2022

This approach was imperfect; closing in favor of #31 .

@brettz9 brettz9 closed this Dec 31, 2022
@brettz9 brettz9 deleted the fix-empty-string branch January 1, 2023 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Object with zero-length string key and Set/Map value results in error
1 participant