You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current schema caching implementation (added in #137) currently prevents a multi-project (aka multi-schema) configuration as it keys caching on the eslint configuration, whereas schema resolution is dependent on the path to the GraphQL file being linted.
We can fix this by caching the schemas and the graphql configuration (along with the other cached elements) and instead of returning the cache entry directly, compose the cache hit into a result based on the file path being linted.
The text was updated successfully, but these errors were encountered:
ghost
added
the
blocking
Prevents production or dev due to perf, bug, build error, etc..
label
Oct 19, 2018
Issue Labels
The current schema caching implementation (added in #137) currently prevents a multi-project (aka multi-schema) configuration as it keys caching on the eslint configuration, whereas schema resolution is dependent on the path to the GraphQL file being linted.
We can fix this by caching the schemas and the graphql configuration (along with the other cached elements) and instead of returning the cache entry directly, compose the cache hit into a result based on the file path being linted.
The text was updated successfully, but these errors were encountered: