"@graphql-codegen/gql-tag-operations-preset" causing relay-compiler not finding config file
- Dominant language
- Rust
- Stars
- 19k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
Ran into a weird issue where i had a package:
"@graphql-codegen/gql-tag-operations-preset"
When it was included in the package.json, when runnning relay-compiler, it returned the error "Missing required arguments: schema, src" even though they were specified in the config file, so I suspect there is some conflict causing the relay to not finding the config file...
Contributor guide
Research direction
Reproduce the issue by including @graphql-codegen/gql-tag-operations-preset in package.json and running relay-compiler with the referenced config file. Check why the compiler reports missing schema and src despite their presence; done when the configuration is discovered and those arguments are accepted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- graphql, javascript
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100