GraphQL Data Federation Agent

Federates data from multiple GraphQL and REST APIs using Apollo Federation gateway. Implements schema stitching with automatic type merging and the DataLoader pattern for N+1 prevention.

agentskillexchange Updated 28 repo stars

File contents

GraphQL Data Federation Agent

Federates data from multiple GraphQL and REST APIs using Apollo Federation gateway. Implements schema stitching with automatic type merging and the DataLoader pattern for N+1 prevention.

Installation

Use the upstream install or setup path that matches your environment:

  • npm install --save graphql
  • yarn add graphql
  • npm install graphql@git://github.com/graphql/graphql-js.git#npm

Requirements and caveats from upstream:

  • GraphQL.js is a general-purpose library and can be used both in a Node server
  • with both CommonJS (require()) and ESModule (import) files. Ensure that any

Basic usage or getting-started notes:

Source

agentskillexchange/skills/tree/main/skills/graphql-data-federation-agent commit 4e8f7dac9e

Frequently asked questions

npx skillmds@latest add agentskillexchange/graphql-data-federation-agent