typegql
typegql copied to clipboard
Falsy values are being treated as `null`
I've noticed a couple situations that return null rather than the expected value...
- Returning 0 for Float/Int
- The first enum (because enums start at 0 in TS)
- An empty string
It seems to me that any falsy value is being resolved as null.