Grephql.Types.PathSegment (Grephql v0.10.1)

Copy Markdown View Source

Ecto Type for GraphQL error path segments.

A path segment can be either a string (field name) or an integer (list index), as defined by the GraphQL spec for error paths.

Summary

Functions

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

Types

t()

@type t() :: String.t() | integer()

Functions

equal?(term1, term2)

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