graphql-hive / graphql-hive/graphql-config

Support injected fs (webpack loader/memory-fs)

Open
#54 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.2k
Forks
104
Avg merge
2h 5m
Merged PRs (30d)
3

Description

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](https://webpack.js.org/api/loaders/#this-fs). I would like to be able to use this library in [`graphql-loader`](https://github.com/stephen/graphql-loader), but as-is this library accesses the fs module directly.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing where the library accesses the fs module directly, then read webpack loader documentation for the injected this-fs context and inspect graphql-loader's usage. Done means the library can use an injected filesystem in that context without relying on the direct fs module, and graphql-loader can use it successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, webpack
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.