absinthe v1.5.2 mix absinthe.schema.sdl View Source
Generate a schema.graphql file
mix absinthe.schema.sdl --schema MySchema
Usage
absinthe.schema.sdl [FILENAME] [OPTIONS]
Options
--schema- The name of theAbsinthe.Schemamodule defining the schema to be generated. Default: As configured for:absinthe:schema
Examples
Write to default path ./schema.graphql using the :schema configured for the :absinthe application:
$ mix absinthe.schema.sdl
Write to path /path/to/schema.graphql using the MySchema schema
$ mix absinthe.schema.sdl --schema MySchema /path/to/schema.graphql