View Source GlificWeb.Schema.GenericTypes (Glific v5.1.6)

GraphQL Representation of common data representations used across different Glific's DataType

Link to this section Summary

Functions

A forgivable parser which allows integers or strings to represent integers

Link to this section Functions

Link to this function

parse_maybe_integer(arg1)

View Source
@spec parse_maybe_integer(Absinthe.Blueprint.Input.String.t()) ::
  {:ok, integer()} | :error

A forgivable parser which allows integers or strings to represent integers