View Source Absinthe.Schema.Provider behaviour (absinthe v1.7.0)

Experimental: Behaviour for providing schema data

This behaviour is experimental and may change significantly in patch releases.

Link to this section Summary

Link to this section Types

Specs

schema_identifier() :: term()

Specs

type_group() :: :all | :referenced

Link to this section Callbacks

Link to this callback

__absinthe_directive__(schema_identifier, identifier_t)

View Source

Specs

__absinthe_directive__(schema_identifier(), Absinthe.Type.identifier_t()) ::
  Absinthe.Type.custom_t()
Link to this callback

__absinthe_directives__(schema_identifier)

View Source

Specs

__absinthe_directives__(schema_identifier()) :: Absinthe.Type.Directive.t()
Link to this callback

__absinthe_interface_implementors__(schema_identifier)

View Source

Specs

__absinthe_interface_implementors__(schema_identifier()) :: term()
Link to this callback

__absinthe_type__(schema_identifier, identifier_t)

View Source

Specs

__absinthe_type__(schema_identifier(), Absinthe.Type.identifier_t()) ::
  Absinthe.Type.custom_t()
Link to this callback

__absinthe_types__(schema_identifier)

View Source

Specs

__absinthe_types__(schema_identifier()) :: [{atom(), binary()}]
Link to this callback

__absinthe_types__(schema_identifier, type_group)

View Source

Specs

__absinthe_types__(schema_identifier(), type_group()) :: [
  {Absinthe.Type.identifier_t(), Absinthe.Type.identifier_t()}
]

Specs