-
Notifications
You must be signed in to change notification settings - Fork 14
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
Problem Upserting records with composite (object) Ids #99
Comments
Hello @erancahana This is indeed an issue with how the id is currently serialized. FYI, this issue will be gone in the next version of the library. Until then, the best alternative to do what you want is to write a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
using the driver with WS engine:
SurrealDb.Net.Exceptions.SurrealDbException : There was a problem with the database: Found 'TestRecords:{"x":"xx","z":"zz"}' for the id field, but a specific record has been specified
yields the following problem:
SurrealDb.Net.Exceptions.SurrealDbException : There was a problem with the database: Found 'TestRecords:{"x":"xx","z":"zz"}' for the id field, but a specific record has been specified
I've noticed the same issue with the HTTP engine:
PUT http://localhost:8000/key/TestRecords/{"x":"xx","z":"zz"}
with body
does not work
but with body
does work,
so this seems like a serialization issue when escaping strings of Ids that are objects?
The text was updated successfully, but these errors were encountered: