A GraphQL data provider for react-admin (v5.x), built by Amplication to work with Amplication-generated GraphQL APIs. Currently at v1.0.2, this package wraps the standard ra-data-graphql-simple but adds Amplication-specific query batching and filtering conventions. It requires graphql ^15.6.0 and ra-core ^5.1.4 as peer dependencies. Key differentiator: optimized for Amplication's CRUD endpoints out of the box, with auto-generated IDs and sorting.
npm install ra-data-graphql-amplicationNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to set up the Amplication GraphQL data provider with a React Admin v5 application.
Upgrade react-admin to v5 or use ra-data-graphql-amplication@0.x for v4.
Use buildGraphQLProvider from ra-data-graphql-simple for custom schemas.
Pin version to exact minor and test upgrades.
npm install ra-data-graphql-amplication react-admin@^5.1 graphql@^15.6
Use dynamic import() or enable ESM in your project: {"type": "module"} in package.json.Ensure your GraphQL schema exposes 'id' field on all types, or override the field mapping in options.