Closed lithdew closed 1 year ago
This is expected. "Empty" in EdgeDB is not a value, and so cannot be contained in any other value. In this regard (1, <int64>{})
is not different from 1 + <int64>{}
. If you have optional data, use objects instead.
This is expected. "Empty" in EdgeDB is not a value, and so cannot be contained in any other value. In this regard
(1, <int64>{})
is not different from1 + <int64>{}
. If you have optional data, use objects instead.
Would using objects require declaring the type in the schema + how would instantiating a free object instance work?
Or, is this something to be solved via. https://github.com/edgedb/rfcs/blob/master/text/1022-freetypes.rst?
Depends on whether data needs to be stored or computed ad-hoc. In the latter case you can use free shapes.
Steps to Reproduce: