You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A RecordId with a long string of numbers as its identifier is not always jsonified properly. In some cases the long numeric string is not properly escaped.
Steps to reproduce
Here's a simple example to demonstrate the problem:
I would expect the result to be foo:⟨125813199042576601589342522460260755⟩, for consistency with how SurrealDB treats them:
-- string identifier consisting of a long string of numbers
CREATE foo:`125813199042576601589342522460260755`;
[
{
id: foo:⟨125813199042576601589342522460260755⟩
}
]
Describe the bug
A
RecordId
with a long string of numbers as its identifier is not always jsonified properly. In some cases the long numeric string is not properly escaped.Steps to reproduce
Here's a simple example to demonstrate the problem:
Expected behaviour
I would expect the result to be
foo:⟨125813199042576601589342522460260755⟩
, for consistency with how SurrealDB treats them:SurrealDB version
2.1.2
JavaScript SDK version
1.1.0
Contact Details
[email protected]
Is there an existing issue for this?
Code of Conduct
The text was updated successfully, but these errors were encountered: