-
Notifications
You must be signed in to change notification settings - Fork 349
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
Add postgraphile cache to PostGraphile handler. #545
Comments
I think a similar issue exists for the graphql handler, It makes a request on startup to load the schema. Would be nice to manually add a schema file. I think this will be an issue for a variety of handlers when deployed to lambda. Would be great to have a Cli feature where handlers can create a cache of the data the require for startup. Will make new issue |
You're right! We need to implement introspection caching for other handlers, too. For now, in the next release we will have |
Available in https://github.com/Urigo/graphql-mesh/releases/tag/v0.2.7 ! |
Co-authored-by: Renovate Bot <bot@renovateapp.com>
I am using GraphQL mesh in a lambda.
The postgraphile handler introspects the database on start up, leading to slow lambda startup times. Postgraphile has a workaround for this documented [here]§(https://www.graphile.org/postgraphile/deploying-lambda/)
I imagine this as a config on in the yaml
Then on graphql-mesh generate-sdk it also generates a cache.
The text was updated successfully, but these errors were encountered: