Skip to content

Falsy values are being treated as null #56

@jdolle

Description

@jdolle

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions