Expand description
Marker traits for GraphQL types.
This module provide specialized types for GraphQL. To ensure that only specification compliant construct compile, these marker traits are used. Encountering an error where one of these traits is involved implies that the construct is not valid in GraphQL.
Traitsยง
- GraphQL
Interface - Maker trait for GraphQL interfaces.
- GraphQL
Object - Maker trait for GraphQL objects.
- GraphQL
Union - Maker trait for GraphQL unions.
- IsInput
Type - Marker trait for types which can be used as input types.
- IsOutput
Type - Marker trait for types which can be used as output types.