edgedb-net
edgedb-net copied to clipboard
Rename __tname__ to __tname
HI! I use abstract types in EdgeDB and I cannot deserialize them with the .NET library.
I get an error when I try to query with a __tname__ the following way:
__tname__ := .__type__.name
The exception coming from the database UI itself:
EdgeQLSyntaxError: identifiers surrounded by double underscores are forbidden
Thus, I propose a simple rename that works:
Without it, deserialization fails with an exception:
ConfigurationException("Type introspection is required for abstract types, this is a bug.");, defined in the /src/EdgeDB.Net.Driver/Binary/Builders/Info/EdgeDBTypeDeserializerInfo.cs
Lastly, thank you for the great work!