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

Schema merging in build time #112

Open
obukhov opened this issue Oct 1, 2020 · 1 comment
Open

Schema merging in build time #112

obukhov opened this issue Oct 1, 2020 · 1 comment

Comments

@obukhov
Copy link
Contributor

obukhov commented Oct 1, 2020

Currently, schemas of services are introspected on service startup and stored in memory which can lead to the situation when different instances (started in different moments of time in case of autoscaling for example) will have different schemas.

To have better consistency and reproducible environment it would be nice to have a way to merge schemas on build time or from files (which can be bundled with the gateway as a part of the docker image).

Please let me know what you think.

@AlecAivazis
Copy link
Member

This is another one of those things that have been sitting in the back of my mind for awhile. I think this makes sense for certain teams which means it's probably worth exploring how far we should take it as a library. If you have any ideas on potential APIs, please let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants