gql_tristate_value 1.0.0 copy "gql_tristate_value: ^1.0.0" to clipboard
gql_tristate_value: ^1.0.0 copied to clipboard

A wrapper class for representing a value that can be absent, present and null, or present and non-null.

A Value class used to represent the three possible states:

  • absence of a value
  • presence of a value that is null
  • presence of a non-null value

This class is used by the generated code for GraphQL variables and input types that are nullable in order to distinguish between the absence of a value and the presence of a null value, typically used for "update" Mutations.

0
likes
130
pub points
66%
popularity

Publisher

unverified uploader

A wrapper class for representing a value that can be absent, present and null, or present and non-null.

Repository (GitHub)
View/report issues

Topics

#graphql #gql #codegen

Documentation

API reference

License

MIT (LICENSE)

More

Packages that depend on gql_tristate_value