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
I am trying to use SurrealDbClient.Create and sometimes it happens to create the record. Sometimes not, either way it throws an exception (OperationCancelledException/TaskCancelledException) or infinitely waits.
Steps to reproduce
Create a record in c#. public class Session : Record { public required long SessionKey {get;set;} }
Create it
var session = new Session { SessionKey = RandomHelper.UniqueSessionKey };
session = await _client.Create("sessions", session); //wait infinitely, or throw exception.
Expected behaviour
The record gets created and peacefully continues executing the thread.
SurrealDB version
2.1.0 for windows on x86_64
Package version(s)
[net8.0]:
Top-level Package Requested Resolved
SurrealDb.Net 0.6.0 0.6.0
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
Update
This seems like this happens when a method that calls the Create isn't awaited.
The text was updated successfully, but these errors were encountered:
Describe the bug
I am trying to use SurrealDbClient.Create and sometimes it happens to create the record. Sometimes not, either way it throws an exception (OperationCancelledException/TaskCancelledException) or infinitely waits.
Steps to reproduce
public class Session : Record { public required long SessionKey {get;set;} }
Expected behaviour
The record gets created and peacefully continues executing the thread.
SurrealDB version
2.1.0 for windows on x86_64
Package version(s)
[net8.0]:
Top-level Package Requested Resolved
Contact Details
No response
Is there an existing issue for this?
Code of Conduct
Update
This seems like this happens when a method that calls the Create isn't awaited.
The text was updated successfully, but these errors were encountered: