webda.io
webda.io copied to clipboard
Cached parameters on deployment
GraphQLService will calculate the schema based on the application, this calculation once deployed will be the same as before, we should therefore have a mechanism for service to cache this type of calculation on deployment.
We could use the getParameters() of service to store the processed parameters to then store it in the webda.config.json.
This would mean a initialization like this.schema ??= this.generateSchema(...) would only be called when not cached