We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A class that contains a nullable RecordIdOf? timeouts when null.
Create a class with a nullable RecordIdOf? then use the set method creates a timeout
class testClass { public RecordIdOf<string>? recordId { get; set; } = null; }
then try use the surreal db set method.
var surrealDbClient = new SurrealDbClient(localConnection); await surrealDbClient.Connect(); //this succesfully works. RecordIdOf<string> recordId = null; await surrealDbClient.Set("test1", recordId); //this works too. RecordIdOf<string> newRecord = new RecordIdOf<string>("test", "test"); testClass notNull = new testClass(); notNull.recordId = newRecord; await surrealDbClient.Set("test2", notNull); //this timeouts. testClass nullableTest = new testClass(); await surrealDbClient.Set("timeoutTest", nullableTest);
this should not timeout and set the parameter correctly
2.3.0 for macos on aarch64
coverlet.collector 3.2.0 3.2.0 Dahomey.Cbor 1.24.3 1.24.3 Microsoft.NET.Test.Sdk 17.5.0 17.5.0 NUnit 3.13.3 3.13.3 NUnit.Analyzers 3.6.1 3.6.1 NUnit3TestAdapter 4.4.2 4.4.2 Dahomey.Cbor 1.24.3 1.24.3 Dahomey.Cbor 0.8.0 0.8.0
No response
The text was updated successfully, but these errors were encountered:
null
Successfully merging a pull request may close this issue.
Describe the bug
A class that contains a nullable RecordIdOf? timeouts when null.
Steps to reproduce
Create a class with a nullable RecordIdOf? then use the set method creates a timeout
then try use the surreal db set method.
Expected behaviour
this should not timeout and set the parameter correctly
SurrealDB version
2.3.0 for macos on aarch64
Package version(s)
coverlet.collector 3.2.0 3.2.0
Dahomey.Cbor 1.24.3 1.24.3
Microsoft.NET.Test.Sdk 17.5.0 17.5.0
NUnit 3.13.3 3.13.3
NUnit.Analyzers 3.6.1 3.6.1
NUnit3TestAdapter 4.4.2 4.4.2
Dahomey.Cbor 1.24.3 1.24.3
Dahomey.Cbor 0.8.0 0.8.0
Contact Details
No response
Is there an existing issue for this?
Code of Conduct
The text was updated successfully, but these errors were encountered: