We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When trying to insert an Object w/ an option field the undefined value is being inserted as a NULL causing an error:
Error: Failed to insert Data ResponseError: There was a problem with the database: Found NULL for field address, with record customer:⟨john-smith⟩, but expected a option<string>`
the field address hier is undefined which translates to NONE but in the error it says it found NULL.
undefined
NONE
The record should be inserted successfully.
2.1.2 on Surreal Cloud
1.2.1
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
When trying to insert an Object w/ an option field the undefined value is being inserted as a NULL causing an error:
the field address hier is
undefined
which translates toNONE
but in the error it says it found NULL.Steps to reproduce
Expected behaviour
The record should be inserted successfully.
SurrealDB version
2.1.2 on Surreal Cloud
JavaScript SDK version
1.2.1
Contact Details
No response
Is there an existing issue for this?
Code of Conduct
The text was updated successfully, but these errors were encountered: