-
-
Notifications
You must be signed in to change notification settings - Fork 647
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
Dexie cloud add() operator sync bug #2103
Comments
I think this is the same problem with #2113 |
dfahlander
pushed a commit
that referenced
this issue
Jan 15, 2025
dfahlander
added a commit
that referenced
this issue
Jan 15, 2025
Fixed in latest dexie and dexie-cloud-addon: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reproduction
There is a message object in the table
messages
Its
contents.0.items
was initially an empty arrayExecute this:
It works fine. The item has been added.
It also triggers sync at the same time, with payload:
Bug when receiving the response:
The message changed again, and
![image](https://private-user-images.githubusercontent.com/60081994/390998137-716564f5-3123-41ea-98e5-d8bbaeea8f94.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyNTgzODEsIm5iZiI6MTczOTI1ODA4MSwicGF0aCI6Ii82MDA4MTk5NC8zOTA5OTgxMzctNzE2NTY0ZjUtMzEyMy00MWVhLTk4ZTUtZDhiYmFlZWE4Zjk0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjExVDA3MTQ0MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTc3OWYwMGM5Y2QzNzc0YzAzNTE3MzQxYmNjYjEyOWI3MjYwZjY5ODJlNDk0ZDhmMmQzODdmMzYzZDQzYjk1NTgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.I9H6aM3dY-fMZ3F6RrZ_jlo5Y6csF2yPxZZZDUvVcyc)
content.0.items
became a object with propertyadd
:This is not an expected behavior. I guess it is a bug of dexie-cloud
I'm using [email protected] and [email protected]
The text was updated successfully, but these errors were encountered: