redwood generate sdl <model>

Generate a GraphQL schema and service object

Arguments

NameDescription
modelModel to generate the sdl for

Options

NameDescription
--force, -f
  • Dangerous 💥
--typescript, --tsGenerate TypeScript files Enabled by default if we detect your project is TypeScript
--crudAlso generate mutations