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

Experimental: Behaviour for providing schema data

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

Summary

Types

@type schema_identifier() :: term()
@type type_group() :: :all | :referenced

Callbacks

Link to this callback

__absinthe_directive__(schema_identifier, identifier_t)

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

__absinthe_directives__(schema_identifier)

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

__absinthe_interface_implementors__(schema_identifier)

View Source
@callback __absinthe_interface_implementors__(schema_identifier()) :: term()
Link to this callback

__absinthe_type__(schema_identifier, identifier_t)

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

__absinthe_types__(schema_identifier)

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

__absinthe_types__(schema_identifier, type_group)

View Source
@callback __absinthe_types__(schema_identifier(), type_group()) :: [
  {Absinthe.Type.identifier_t(), Absinthe.Type.identifier_t()}
]
@callback pipeline(Absinthe.Pipeline.t()) :: Absinthe.Pipeline.t()