-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Collection change events corrupt keys containing square brackets when key compression is enabled #5605
Comments
4 tasks
This was an error in the key-compression package, fixed in this commit: pubkey/jsonschema-key-compression@7ab31e0 |
pubkey
added a commit
that referenced
this issue
Feb 7, 2024
* FIX #5603 key-compressed collection change events when object key is added containing square brackets * ADD changelog * FIX lint
Should be fixed in the latest releases. Ping me if it still does not work. |
Thanks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We have a
tags
object on documents. When adding a key like"[example]"
, the key is""
in the collection change event, but only when key compression is enabled.Test here: #5603
This is particularly bad for us because bad values are being sent to our server and when our client catches up with the server, it overwrites the good values with bad. So for users, they add a tag, it's fine, then it disappears.
The text was updated successfully, but these errors were encountered: