Skip to content
Discussion options

You must be logged in to vote

I would still advise on handling updated schema consumption through PRs.

How much you can automate is down to the data source you consume, assuming your JSON schema is remote and you're not controlling it directly.
F.i. you could have a polling system as part of CI on your graphql service that checks the version number on your data source and eventually raise a PR to consume the new version of the schema.
If the data source is built internally within your organisation you could implement a push mechanism, so that every time a new version is deployed it will push a notification to your GraphQL service's CI pipelines and those will eventually raise the PR.

Those are just some high-level ide…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@wasurdev
Comment options

Comment options

You must be logged in to vote
4 replies
@wasurdev
Comment options

@santino
Comment options

@wasurdev
Comment options

@santino
Comment options

Answer selected by wasurdev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants