We use the Prismic Development Environment feature to develop against our new content models. When the content models are ready, we copy over the JSON of the content model into the production repo and save. I push my code and our CI/CD pipeline is kicked off. At this point, we require a Gatsby build against the production repo.
The new code should be able to do a Gatsby build since the Prismic production content model has been updated to match dev. The production Prismic GraphQL schema should update to include the changes to the content model.
In order to force the update to the production GraphQL schema, we have to create a content entry of that particular type, publish it.
This is a problem because in our case the content entry is not ready to go production yet. We need a way to update the schema without having to publish content.