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

Forbid short document keys like $k #181

Closed
AlekSi opened this issue Dec 16, 2021 · 0 comments · Fixed by #234
Closed

Forbid short document keys like $k #181

AlekSi opened this issue Dec 16, 2021 · 0 comments · Fixed by #234
Labels
code/bug Some user-visible feature works incorrectly
Milestone

Comments

@AlekSi
Copy link
Member

AlekSi commented Dec 16, 2021

{"$k": "foo"} can't be encoded into JSON (and jsonb) due to magical "$k" key.

@AlekSi AlekSi added the code/bug Some user-visible feature works incorrectly label Dec 16, 2021
@AlekSi AlekSi added this to the Alpha milestone Dec 16, 2021
@AlekSi AlekSi modified the milestones: Alpha, v0.0.6 Jan 5, 2022
@AlekSi AlekSi changed the title Document encoding problem Forbid short document keys like $k Jan 6, 2022
@AlekSi AlekSi changed the title Forbid short document keys like $k Forbid short document keys like $k Jan 6, 2022
AlekSi added a commit that referenced this issue Jan 6, 2022
AlekSi added a commit that referenced this issue Jan 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code/bug Some user-visible feature works incorrectly
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant