Join us from October 8-10 in New York City to learn the latest tips, trends, and news about GraphQL Federation and API platform engineering.Join us for GraphQL Summit 2024 in NYC
Docs
Start for Free

Keeping Schemas Up-To-Date in Client Apps

Recommendations and best practices for keeping client apps updated

federationbest-practicesclient

Client apps need to keep their schemas up-to-date whenever changes are made to the . In order to facilitate this Apollo recommends setting up the following:

To ensure that your client are valid against the most recent schema, we recommend re-running code generation in your continuous integration system before merging client changes. The specific steps required are as follows:

  1. Fetch the latest production schema using any of the methods described above, prior to merging any changes to your client code
  2. Run codegen against this schema
  3. The codegen task will validate that any operations used by the client application are compatible with this schema.
Next
Home
Rate articleRateEdit on GitHubEditForumsDiscord

© 2024 Apollo Graph Inc., d/b/a Apollo GraphQL.

Privacy Policy

Company