Grephql.Types.DateTime (Grephql v0.10.1)

Copy Markdown View Source

Ecto Type for GraphQL DateTime custom scalar.

Handles ISO 8601 datetime strings, converting between Elixir DateTime structs and ISO 8601 string representation.

Summary

Functions

Callback implementation for Ecto.Type.embed_as/1.

Callback implementation for Ecto.Type.equal?/2.

Types

t()

@type t() :: DateTime.t()

Functions

embed_as(_)

Callback implementation for Ecto.Type.embed_as/1.

equal?(term1, term2)

Callback implementation for Ecto.Type.equal?/2.