Currently, the message request assumes that there is always a namespace and database specified. If a database is specified, but no namespace, then this will be accepted as valid when it shouldn't be. Furthermore scope isn't considered in the request.
Describe the solution
Handle parsing of parameters better so that the request list of params for the use method isn't illogical.
Alternative methods
None.
SurrealDB version
1.0.0-beta.9+20230821.0665e1b7
Contact Details
hugh@surrealdb.com
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
Is your feature request related to a problem?
Currently, the message request assumes that there is always a namespace and database specified. If a database is specified, but no namespace, then this will be accepted as valid when it shouldn't be. Furthermore scope isn't considered in the request.
Describe the solution
Handle parsing of parameters better so that the request list of params for the
use
method isn't illogical.Alternative methods
None.
SurrealDB version
1.0.0-beta.9+20230821.0665e1b7
Contact Details
hugh@surrealdb.com
Is there an existing issue for this?
Code of Conduct