-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Labels
bugSomething isn't workingSomething isn't workingpending surrealdb fixThis issue depends on an issue in the SurrealDB repositoryThis issue depends on an issue in the SurrealDB repository
Description
Describe the bug
While creating a record, if it happened to pass new StringRecordId(''), The engine gets disconnected. And we are receiving the error as "The engine reported the connection to surrealdb has dropped"
Steps to reproduce
await db.create('demo', { name: new StringRecordId('')})
Expected behaviour
The connection shouldn't be dropped, instead it should throw an error
SurrealDB version
1.5.4
JavaScript SDK version
1.0.0-beta.18
Contact Details
Is there an existing issue for this?
- I have searched the existing issues
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingpending surrealdb fixThis issue depends on an issue in the SurrealDB repositoryThis issue depends on an issue in the SurrealDB repository