API Reference absinthe_helpers v0.1.7

Modules

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.