Open J05HM0N5TER opened 5 months ago
Hello Josh,
Unfortunately, the only solution for this to work is to write the Query
by hand. This bug will be fixed in the future.
Hello Josh,
Unfortunately, the only solution for this to work is to write the
Query
by hand. This bug will be fixed in the future.
Thanks for the quick reply.
I am just planning on using any
for now, since it works with my existing code and I think I can change it later if I need to.
I have a scemafull with a field defined as
string
and if I set it to a string which is in the form of a record (e.g.test:string
) then it throws an exception. There is a workaround in surrealql, but I don't know how to do that in this SDK.Minimal replication example:
Where it throws
Error: SurrealDb.Net.Exceptions.SurrealDbException: There was a problem with the database: Found example:string for field `name`, with record `test:djqxpvplqi7eorq6pp9t`, but expected a string
As a workaround, I can set the type to be
any
, but that is no longer representative of the data I am putting in it.