The response I get from a call to select does not properly serialize embedded record links (record IDs). As a result, the resulting record ID strings are unusuable in subsequent calls to select.
Steps to reproduce
Here's the query in Surrealist:
SELECT attributes[0] FROM entity:⟨0079835f-100d-43b0-841f-82e273b85abf⟩
I'd expect the serialization from select for embedded record links like these to be like it was before (or, that there's a documented way to get them to that format?)
SurrealDB version
1.5.0 for linux on x86_64
SurrealDB.js version
1.0.0-beta.9
Contact Details
lyle@lylejohnson.name
Is there an existing issue for this?
[X] I have searched the existing issues
Code of Conduct
[X] I agree to follow this project's Code of Conduct
Describe the bug
The response I get from a call to
select
does not properly serialize embedded record links (record IDs). As a result, the resulting record ID strings are unusuable in subsequent calls toselect
.Steps to reproduce
Here's the query in Surrealist:
and its result, as displayed in Surrealist:
Note that here, the
entitySchemaAttributeId
field's value is correctly rendered as a record ID.However, when I use
select
in my application to query for the same record:It's removing those special bracket characters:
This is a change in behavior from 0.11.1.
Expected behaviour
I'd expect the serialization from
select
for embedded record links like these to be like it was before (or, that there's a documented way to get them to that format?)SurrealDB version
1.5.0 for linux on x86_64
SurrealDB.js version
1.0.0-beta.9
Contact Details
lyle@lylejohnson.name
Is there an existing issue for this?
Code of Conduct