leoasis / leoasis/graphql-persisted-document-loader

Only one operation per file

Open
#5 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
82
Forks
13
PR merge metrics
No merged PRs in 30d

Description

Hi! this lib is so cool, thank you 👍

This lib supports one operation by file, but the graphql-tag/loader supports multiple.

Why do we have this limitation here?

I guess it could be useful to warn users about this limitation, since I got caught by surprise.

thanks!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files or tests. Start at the webpack loader entry point and trace how a file containing multiple operations is handled; clarify whether the intended outcome is support or a warning, then define done with a regression test for that behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, javascript
Domain
build-system
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.