redwood generate sdl <model>
Generate a GraphQL schema and service object
Arguments
Name | Description |
---|---|
model | Model to generate the sdl for |
Options
Name | Description |
---|---|
--force, -f |
|
--typescript, --ts | Generate TypeScript files Enabled by default if we detect your project is TypeScript |
--crud | Also generate mutations |