Skip to content
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 support for caching introspection results (and other plugin values) #118

Closed
benjie opened this issue Nov 18, 2017 · 2 comments · Fixed by #149
Closed

Add support for caching introspection results (and other plugin values) #118

benjie opened this issue Nov 18, 2017 · 2 comments · Fixed by #149
Labels
Milestone

Comments

@benjie
Copy link
Member

benjie commented Nov 18, 2017

Should support generic storage for each plugin, the plugins should manage their own version information (e.g. PgIntrospectionPlugin might use a hash of the introspection query, or simply the version number of the plugin, others may factor in the arguments received).

Failure should be hard - e.g. if the options don't match but you're asked to import a cache then it should throw and should be called again without an input cache so that a fresh cache can be generated.

@benjie
Copy link
Member Author

benjie commented Nov 22, 2017

Filing this as a bug because we need it before we can release PostGraphile v4. It's not really a bug, it's a missing feature.

@benjie
Copy link
Member Author

benjie commented Nov 22, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant