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

Support injected fs (webpack loader/memory-fs) #54

Open
stephen opened this issue Dec 27, 2017 · 1 comment
Open

Support injected fs (webpack loader/memory-fs) #54

stephen opened this issue Dec 27, 2017 · 1 comment

Comments

@stephen
Copy link
Contributor

stephen commented Dec 27, 2017

It would be nice to understand how to support a context where use of the fs module is injected, i.e. in a webpack loader. I would like to be able to use this library in graphql-loader, but as-is this library accesses the fs module directly.

@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.

Do you think it covers your story? We'd be happy to collaborate on this one and hear your suggestions!

@kamilkisiela kamilkisiela removed this from the v3.0.0 milestone Oct 25, 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

2 participants