Closed kearfy closed 1 month ago
Thank you for submitting this pull request! We appreciate you spending the time to work on these changes.
convertAuth threw an error if a namespace was specified, while database was omitted.
convertAuth
It makes database optional, and additionally some generic Error instances are now converted to SurrealDbError
database
Error
SurrealDbError
Added a test for convertAuth
No
Thank you for submitting this pull request! We appreciate you spending the time to work on these changes.
What is the motivation?
convertAuth
threw an error if a namespace was specified, while database was omitted.What does this change do?
It makes
database
optional, and additionally some genericError
instances are now converted toSurrealDbError
What is your testing strategy?
Added a test for
convertAuth
Is this related to any issues?
No
Have you read the Contributing Guidelines?