Nitrite/Flutter: Error when updateOne'ing document where id is the sole embedded field #53
Closed
381outrageousDoors
started this conversation in
General
Replies: 2 comments
-
I was able to get it working with update() with the filter as 'properties.id' |
Beta Was this translation helpful? Give feedback.
0 replies
-
Could you please provide a reproducible code for the issue you are facing? I would be able to suggest you if your doing something wrong or if it's a bug. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Trying to update a document where the id is an embedded field in a subdoc and it's erroring on me.
This is the error it gives.
I would've thought it would go down the if path since it only has 1 embeddedField, but it doesn't accept the document is a Document type. I have @convertible on the doc, subdoc, and one of the fields in the subdoc that's an enum, and insert() works fine. Not sure what I'm doing wrong or if it's a bug
Beta Was this translation helpful? Give feedback.
All reactions