Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update schema (typedefs and resolvers) without downtime #3824

Closed
loicmarie opened this issue Feb 24, 2020 · 3 comments
Closed

Update schema (typedefs and resolvers) without downtime #3824

loicmarie opened this issue Feb 24, 2020 · 3 comments

Comments

@loicmarie
Copy link

loicmarie commented Feb 24, 2020

This issue is a Feature Request:

It would be great to be able to easily update the schema (typedefs and resolvers), without downtime.

Why : some teams use entity-based management tools in order to manage a tremendous quantity of types. In this case, imports and exports schemas are automatically generated.

While using Apollo with graphQL seems to be a perfect fit for those applications, Apollo lacks of some methods / pipelines / tools for handling streamed schema updates without downtime.

I already tried to use the schema auto-update ability of Graph Manager, but as far as I understand, it is not designed to update resolvers.

This has already been mentioned in some issues, but:

  • the issue has been closed with a very doubtful workaround using non-documented methods
  • the case was concerning the dev environment (hot reload with webpack for example), not a process of continuous schema updates in production
  • the case was very particular (no need for updating resolvers) and has been resolved using Graph Manager

This issue is a Doc Request too:

I think schema hot/streamed update is a very important feature, and I am very surprised that it is not documented at all in Apollo docs. Moreover, this feature does not appear in v3 roadmap.

If this is not possible, the doc should precise it. (or precise that it is in the roadmap)
If this is possible, it would be great to explain how to accomplish this.

@MStumpp
Copy link

MStumpp commented Apr 18, 2020

Interested online schema updates (types + resolvers) too.

@cramatt
Copy link

cramatt commented Feb 24, 2022

Maybe related to #1275?

@glasser
Copy link
Member

glasser commented Feb 24, 2022

Agreed, this is solved as stated in #1275 because this is what the gateway interface implements. Could be better documented, though.

@glasser glasser closed this as completed Feb 24, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants