Module cynic::queries

source ·
Expand description

Tools for building GraphQL queries in cynic

Structs

An argument
Builds a SelectionSet for the given SchemaType and Variables
A set of field selections that form part of a graphql query.

Enums

An InputLiteral is an argument that will be output in the GraphQL query text (as opposed to a variable that will go in the variables field)

Traits

Encodes the rules for what types can be flattened into other types via the #[cynic(flatten)] attribute.
Trait that determines whether two types are equal, that should help improve cynics error messages.
Encodes the rules for whether a type can have the #[cynic(recurse)] attribute applied.
Enforces type equality on a Variable struct.

Functions

Serializes a type into an InputLiteral