sanity graphql deploy
Deploy a GraphQL API from the current Sanity schema
Options
Name | Description |
---|---|
--dataset <dataset> | Deploy API for the given dataset |
--tag <tag> | Deploy API to given tag (defaults to 'default') |
--generation <generation> | API generation to deploy (defaults to 'gen3') |
--non-null-document-fields | Set document interface fields (_id, _type etc) as non-null |
--playground | Deploy a GraphQL playground for easily testing queries (public) |
--no-playground | Skip playground prompt (do not deploy a playground) |
--force | Deploy API without confirming breaking changes |