Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

ra-data-graphql-simple: outdated graphql-ast-types-browser dependency causes npm peer warnings

Open
#11,395 1 comment 0 reactions 0 assignees View on GitHub

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

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.

More from marmelab/react-admin

All issues in marmelab/react-admin

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.