AbsintheHelpers.Transforms.Trim (absinthe_helpers v0.1.9)

A transformation that trims whitespace from string input values in an Absinthe schema.

Example Usage

Add the transformation to a field in your schema:

alias AbsintheHelpers.Transforms.Trim

field :username, :string do
  meta transforms: [Trim]
end

Summary

Functions

Callback implementation for c:AbsintheHelpers.Transform.call/2.

Functions

Link to this function

call(item, arg2)

Callback implementation for c:AbsintheHelpers.Transform.call/2.