Grax.validate

You're seeing just the function validate, go back to Grax module for more information.
Link to this function

validate(mapping, opts \\ [])

View Source

Specs

validate(struct(), opts :: Keyword) ::
  {:ok, struct()} | {:error, Grax.ValidationError.t()}