View Source Absinthe.Federation.Schema (absinthe_federation v0.5.4)
Module for injecting custom Absinthe.Phase
s for adding federated types and directives.
example
Example
defmodule MyApp.MySchema do
use Absinthe.Schema
+ use Absinthe.Federation.Schema
query do
...
end
end
Link to this section Summary
Functions
Injects custom compile-time Absinthe.Phase
Link to this section Functions
Injects custom compile-time Absinthe.Phase
@spec remove_federated_types_pipeline(schema :: Absinthe.Schema.t()) :: Absinthe.Pipeline.t()
@spec to_federated_sdl(schema :: Absinthe.Schema.t()) :: String.t()