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
Running the example from the README fails with panic: cbor: cannot unmarshal map into Go struct field connection.RPCResponse[github.com/surrealdb/surrealdb.go/pkg/models.RecordID].result of type []interface {} on SurrealDB 2.1.2.
Steps to reproduce
Start a SurrealDB instance
Copy the example from the README into a new Go project
Run the code
It crashes with panic: cbor: cannot unmarshal map into Go struct field connection.RPCResponse[github.com/surrealdb/surrealdb.go/pkg/models.RecordID].result of type []interface {}
Expected behaviour
It shouldn't crash
SurrealDB version
2.1.2 for linux on x86_64
Contact Details
No response
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
The text was updated successfully, but these errors were encountered:
Describe the bug
Running the example from the README fails with
panic: cbor: cannot unmarshal map into Go struct field connection.RPCResponse[github.com/surrealdb/surrealdb.go/pkg/models.RecordID].result of type []interface {}
on SurrealDB 2.1.2.Steps to reproduce
panic: cbor: cannot unmarshal map into Go struct field connection.RPCResponse[github.com/surrealdb/surrealdb.go/pkg/models.RecordID].result of type []interface {}
Expected behaviour
It shouldn't crash
SurrealDB version
2.1.2 for linux on x86_64
Contact Details
No response
Is there an existing issue for this?
Code of Conduct
The text was updated successfully, but these errors were encountered: