edgedb-net icon indicating copy to clipboard operation
edgedb-net copied to clipboard

Rename __tname__ to __tname

Open Namek opened this issue 1 year ago • 0 comments

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

image

Thus, I propose a simple rename that works: image

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!

Namek avatar Dec 11 '24 00:12 Namek