webda.io icon indicating copy to clipboard operation
webda.io copied to clipboard

Cached parameters on deployment

Open loopingz opened this issue 2 years ago • 0 comments

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

loopingz avatar Mar 18 '23 17:03 loopingz