View Source mix absinthe.federation.schema.sdl (absinthe_federation v0.5.4)

Generate a schema.graphql file.

usage

Usage

mix absinthe.federation.schema.sdl [OPTIONS] [FILENAME]

options

Options

  • --schema - The name of the Absinthe.Schema module defining the schema to be generated. Default: As configured for :absinthe :schema

examples

Examples

Write to default path ./schema.graphql using the :schema configured for the :absinthe application:

mix absinthe.federation.schema.sdl

Write to path /path/to/schema.graphql using the MySchema schema

mix absinthe.federation.schema.sdl --schema MySchema /path/to/schema.graphql

Link to this section Summary

Link to this section Functions