edgedb / edgedb-dart

Apache License 2.0
28 stars 4 forks source link

add type cast to Lists and null parameter to enumcodec #36

Closed Arpit1496 closed 9 months ago

Arpit1496 commented 9 months ago

This Pr fixes 2 minor bugs:

1). It add type casts to List types to handle "RUNTIME ERROR" of casting "Empty" Lists in _fromMap constructors. 2). EnumCodec has 2 "positional parameters" but only 1 was required and passed during building which resulted in "Compile time" error. Thus another parameter "null" is passed there.

Arpit1496 commented 9 months ago

Any update on this @jaclarke

jaclarke commented 9 months ago

Closing in favour of #37