absinthe v1.5.3 Absinthe.Schema.Provider behaviour View Source

Experimental: Behaviour for providing schema data

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

Link to this section Summary

Link to this section Types

Link to this type

schema_identifier()

View Source
schema_identifier() :: term()
Link to this type

type_group()

View Source
type_group() :: :all | :referenced

Link to this section Callbacks

Link to this callback

__absinthe_directive__(schema_identifier, arg2)

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

__absinthe_directives__(schema_identifier)

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

__absinthe_interface_implementors__(schema_identifier)

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

__absinthe_type__(schema_identifier, arg2)

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

__absinthe_types__(schema_identifier)

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

__absinthe_types__(schema_identifier, type_group)

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