tyge68 opened a new pull request #18: URL: https://github.com/apache/sling-org-apache-sling-graphql-core/pull/18
Currently in SLING-10085 the GraphQLSchema couldn't be cached due to wired resource. Thus it still need half the time to spend on building the schema, while generally the resource is only used to be passed later to the fetcher. As that resource then change, I suggested to wrap it via a proxy Resource implementation that would be passed instead of the real resource. That proxy will then use a map to lookup for the current resource used at execute/validate time. The key for the map is to use the current thread. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
