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

Extend the extensions possibilities #73

Closed
kbrandwijk opened this issue Jan 14, 2018 · 1 comment
Closed

Extend the extensions possibilities #73

kbrandwijk opened this issue Jan 14, 2018 · 1 comment

Comments

@kbrandwijk
Copy link
Contributor

Using different config extensions in the graphql-cli, I have noticed there is a gap between what the extensions can provide, and what custom behavior the cli needs. I think part of this needs to be solved in the cli, but the other part probably in graphql-config.

For example, retrieving an endpoint is part of the graphql-config extensions, and loading a schema is part of the core, and can't be influenced by extensions.

This is not a 'ready to be implemented' kind of issue, but food for thought...

@kamilkisiela
Copy link
Owner

Hi there, it's The Guild :) We're working on a new version of GraphQL Config. The goal is to make it platform agnostic, flexible enough to use with any tool and framework, reduce the bundle size and a lot more and what's even more important, bring it back to life and keep maintaining.

New changes #162 are already merged into master and v3.0.0-alpha.13 is released.

With new GraphQL Config we decided to make extensions a first class citizen and let them actually extend GraphQL Config's logic.

Right now extensions can enable Config to load a Schema from different sources, an example can be found here. Because we moved the schema loading logic outside GraphQL Config, we named it Loaders, it was possible to introduce a loader for files on GitHub or a loader to extract schema from typescript and javascript files. I think it opens up the Config for variety of use cases.

@kamilkisiela kamilkisiela added this to the v3.0.0 milestone Oct 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants