ra-data-graphql-simple: outdated graphql-ast-types-browser dependency causes npm peer warnings
Maintainers usually reply within 1 day
@bipul724 is already working on this.
Since Oct 17, 2026.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- graphql, typescript
- Domain
- api
Research direction
The conflict is the [email protected] entry in the ra-data-graphql-simple package manifest, which pins a peer graphql@^0.11.7 while the package expects graphql@^15.6.0. Start by finding where that dependency is imported to see which AST builders it supplies. Done would mean the package installs with graphql@15 without ERESOLVE warnings and its query-building tests still pass, but the issue leaves open whether to replace the dependency or fork it, so confirm the approach with maintainers first.
Written by the indexing model from the issue text.
Description
What you were expecting:
Installing ra-data-graphql-simple with its supported GraphQL version should not produce peer-dependency warnings.
What happened instead:
[email protected] requires graphql@^15.6.0, but depends on [email protected], which requires graphql@^0.11.7.
Installation succeeds but repeatedly produces:
npm warn ERESOLVE overriding peer dependency
npm warn Could not resolve dependency:
npm warn peer graphql@"^0.11.7" from [email protected]
Steps to reproduce:
Run npm install in a project with the dependencies below.
Related code:
{
"dependencies": {
"ra-data-graphql-simple": "5.15.4",
"graphql": "15.10.1"
}
}
Other information:
Previously reported in #7654, which was closed without correcting the conflicting peer requirement.
The temporary browser fork is still waiting on graphql-ast-types#7, open since 2018....
Could ra-data-graphql-simple replace this dependency with internal typed AST builders using graphql, or a maintained alternative?
Environment
- React-admin version: 5.15.4
- ra-data-graphql-simple version: 5.15.4
- GraphQL version: 15.10.1
- Node version: 24.x
- npm version: 11.x
- Browser: N/A
- Dominant language
- TypeScript
- Stars
- 27k
- Forks
- 5.5k
- Avg merge
- 1d 3m
- Merged PRs (30d)
- 32
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from marmelab/react-admin
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
marmelab/react-admin#11431 ·
Maintainers usually reply within 1 day
-
Pagination: page button aria-labels are not translated on small screensPossibly taken @Singmin claimed this 1 day ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
marmelab/react-admin#11427 ·
Maintainers usually reply within 1 day
-
Add emptyText property to SelectArrayInputPossibly taken @kwitykwity claimed this 59 days ago. Openenhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
marmelab/react-admin#10454 · 7 comments ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 Over a week Newbie friendliness 38/100
marmelab/react-admin#11426 · 1 reaction ·
Maintainers usually reply within 1 day
-
Fix decode-uri-component DoS (CVE-2026-45822) by dropping query-stringMay be free again A pull request for this issue was closed without being merged. Open
Difficulty 3/5 1-2 days Newbie friendliness 68/100
marmelab/react-admin#11380 · 1 comment ·
Maintainers usually reply within 1 day
All issues in marmelab/react-admin
Similar issues
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 86/100
awslabs/visual-asset-management-system#937 ·
Maintainers usually reply within 1 day
-
t0ggles
Difficulty 1/5 Under an hour Newbie friendliness 82/100
nolimits4web/swiper#8255 · 1 comment ·
Maintainers usually reply within 15 days
-
render: --variables-file (and --variables <path>) fails with "io.readFile is not a function" since 0.8.212Possibly taken @miguel-heygen claimed this today. Openbug triage/needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
heygen-com/hyperframes#6830 ·
Maintainers usually reply within 1 day
-
bug launch local use
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
account: profile bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 5 days