API Reference absinthe_helpers v0.1.9
Modules
Applies regex constraint on node data. This constraint can only be applied to String types.
Defines a GraphQL directive for adding constraints to fields and arguments.
Validates input nodes against constraints defined by the constraints
directive in your Absinthe schema. Constraints can be applied to fields
and arguments, enforcing rules such as min
, max
, etc. These constraints
can be applied to both individual items and lists simultaneously.
The module identifies input nodes with transformation metadata and applies them to the values. These transformations can be applied to both single-value nodes and lists of items.
A transformation that converts string input values to integers in an Absinthe schema.
A transformation that trims whitespace from string input values in an Absinthe schema.