Sorry, we don't support your browser.  Install a modern browser

Project Management CLI#39

The current Management API is powerful, but very verbose, requiring many calls, with logic to determine additional calls. GraphCMS would benefit greatly from a infrastructure-as-code solution, a’la Terraform, that can consume annotated GraphQL SDL, diff against an existing (or empty) project schema, and make the necessary changes. GraphCMS could implement directives for things like field descriptions, validation rules, etc.

This would allow developers to just maintain GraphQL SDL files in their code repositories, and not actualy need to use the UX for many common schema changes.

Terraform-style functions like apply, diff, destroy would be awesome. Error codes should be verbose enough to explain what went wrong (e.g., “Cannot make field X required; existing records violate constraint”, etc.).

This could request could potentially serve double-duty to refactor/extend/enhance existing clone/migration tools, depending on how strong the force is with your PM.

6 years ago