Closed jackfischer closed 9 months ago
Thanks for reporting @jackfischer
It's unclear if this is a bug in the queries generator, or a subtle bug in the cardinality inference in EdgeDB itself. I'll see if I can get to the bottom of that.
Totally. Not aware of a great way to examine this on the CLI side so filed here for now.
It is a bug in edgedb's card inference
Describe the bug Polymorphic EdgeQL query where a string field may not be present is inferred as
string
Reproduction Schema
edgeql query file
Generated TS
Expected behavior
slackDisplayName
would be optional.Versions (please complete the following information):
edgedb-js
version : "edgedb": "^1.3.6", "@edgedb/generate": "^0.3.3",