Builds

Builds are a new concept in Hasura that allow you to quickly iterate and prototype on your project's metadata. A build is an immutable, fully-functioning GraphQL API that represents a milestone in your development cycle.

It may be helpful to think of builds as git commits. Since each is deployed on Hasura DDN, it can be shared with other users. Each build is completely independent. One project can have multiple builds, out of which, one is applied to production.

A typical workflow will see you create a build, test it, and then apply it to production. If you need to make changes, you can create a new build and apply that to production instead. This workflow allows for easier rollbacks on production, and greater collaboration during development.

Additionally, for ease in development, the ddn dev command will watch your project directory for changes and automatically create a new build when it detects a change. This allows you to quickly iterate on your project's metadata and shorten feedback loops.

Did you find this page helpful?
Start with GraphQL on Hasura for Free
  • ArrowBuild apps and APIs 10x faster
  • ArrowBuilt-in authorization and caching
  • Arrow8x more performant than hand-rolled APIs
Promo
footer illustration
Brand logo
© 2024 Hasura Inc. All rights reserved
Github
Titter
Discord
Facebook
Instagram
Youtube
Linkedin
    graphql-handbook