AbsintheUtils.Scalars.UUID (absinthe_utils v0.0.1-main-413ca15b56c2636667dc5f1b7898f81da11032b0)
View SourceThe UUID scalar type allows UUID compliant strings to be passed in and out.
Requires { :ecto, ">= 0.0.0" }
package: https://github.com/elixir-ecto/ecto
Based in the recipes on Absinthe's wiki
Usage:
Import the type in your schema import_types(AbsintheUtils.Scalars.UUID)
and you will be able
to use the :uuid
type.