graphqexl v0.1.0-alpha-rc.25 Graphqexl.Schema.Ref

Ref struct, representing a connection to another user-defined type (that may not yet actually be defined in the run-time context)

Link to this section Summary

Functions

Returns a list of the Graphqexl.Schema.Field.t/0s available on the type resolved to by the given Graphqexl.Schema.Ref.t/0.

Resolves the given Graphqexl.Schema.Ref.t/0 into its corresponding Graphqexl.Schema.Ref.component/0.

Link to this section Types

Link to this type

t()

t() :: %Graphqexl.Schema.Ref{type: atom()}

Link to this section Functions

Link to this function

fields(ref)

(since 0.1.0)
fields(t()) :: [Graphqexl.Schema.Field.t()]

Returns a list of the Graphqexl.Schema.Field.t/0s available on the type resolved to by the given Graphqexl.Schema.Ref.t/0.

Returns: [t:Graphqexl.Schema.Field.t/0]

Link to this function

resolve(ref)

(since 0.1.0)
resolve(t()) :: component()

Resolves the given Graphqexl.Schema.Ref.t/0 into its corresponding Graphqexl.Schema.Ref.component/0.

Returns: Graphqexl.Schema.Ref.component/0