{"bugs":{"url":"https://github.com/apollographql/federation/issues"},"dist":{"shasum":"bbfcde3f327b3ec65dcfd98c6f52d6623a38b251","tarball":"https://registry.npmjs.org/@apollo/federation/-/federation-0.28.0.tgz","fileCount":307,"integrity":"sha512-M5Dp0XJhuxEOzYjPWWK5VtIqEI1IFRioh1+XHrls90UC8R+b6VXa0UxMO/zfKv00APr4gBODMcfRe5w97NSruw==","signatures":[{"sig":"MEQCIAH9+R9chkgEghjkMOxX3L8eE+eyTHD0xhS9despGrqZAiBUXhbocO3vx7vXKtoalKraYbxLFmGu9VqNNhEUdT8v+Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":825731,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhCYOMCRA9TVsSAnZWagAAZlcP/2D7fKlBF3U5PFDIeFSw\nAnY+CDnhu0W/D0bcrycKy86Iu5TgF0xKNv4sG5yZE4QcmF2GW5TLt/rjR600\nLMoO5QcossH4w7sGQ5fDYInwLKIHh5cCouw7wotgHr116sEP077PTM7LcLzc\nmY3EcHYO7fULnNzORSQe6DrjrAPhSRx+OBUCEmLEgAywssi8FFrAIP/xvWWj\nkrgBFfj5N1mL9bemYSu5kCNa+SxKkcbWwAdyY40pMRcr4Xm12pO1RQqhkiJ3\nQxBpJoo35SqIELGq5HfpW7ujkfrfZmelIa36Zy13tuO5LWqes2vjIKK4zq/Y\nzmbz4eDoQCvxK/wdGTdbVSzflRW6oWaKkJJ473oynTsF4wCSdHQgq8oNdBQ8\nOmA3kmyl736qk3uIRZUsiAQ1PW0edrKyqoVO2WxTRTxR1U5YkPHS+XscJZcT\nwuP4Cq810WhA3/KTvAqQZVMyOdHCoS+ZOMFatZ9QQ+6BEZcd4DoAC09hGdUq\np1WDrg4M4+W/awXVBwJT1MEJsHLIkPks+D7/ffFeJTZ0CKEKk3V3H1tFSy7P\nqeXzrdlA9JUzIYC4CP8TIqr/XNce7DVmtuXUI9vC1zx/8d3a9G4GpCkz0khJ\nNBVcNE2hjhTkl97psNLBJvre62vrnSLa6E15CehbAXyaNqoCjuf6E6xRXMnh\nmClb\r\n=HFFc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","name":"@apollo/federation","types":"dist/index.d.ts","author":{"name":"Apollo","email":"opensource@apollographql.com"},"readme":"# `Apollo Federation Utilities`\n\nThis package provides utilities for creating GraphQL microservices, which can be combined into a single endpoint through tools like [Apollo Gateway](https://github.com/apollographql/apollo-server/tree/main/packages/apollo-gateway).\n\nFor complete documentation, see the [Apollo Federation API reference](https://www.apollographql.com/docs/apollo-server/api/apollo-federation/).\n\n## Usage\n\n```js\nconst { ApolloServer, gql } = require(\"apollo-server\");\nconst { buildFederatedSchema } = require(\"@apollo/federation\");\n\nconst typeDefs = gql`\n  type Query {\n    me: User\n  }\n\n  type User @key(fields: \"id\") {\n    id: ID!\n    username: String\n  }\n`;\n\nconst resolvers = {\n  Query: {\n    me() {\n      return { id: \"1\", username: \"@ava\" }\n    }\n  },\n  User: {\n    __resolveReference(user, { fetchUserById }){\n      return fetchUserById(user.id)\n    }\n  }\n};\n\nconst server = new ApolloServer({\n  schema: buildFederatedSchema([{ typeDefs, resolvers }])\n});\n```\n","engines":{"node":">=12.13.0 <17.0"},"gitHead":"63a2cddc1de37cb117b7fb1d2116139af2a4d01c","license":"MIT","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"homepage":"https://github.com/apollographql/federation#readme","keywords":["graphql","federation","apollo"],"deprecated":"The @apollo/federation package is deprecated and will reach end-of-life September 22, 2023. It contains outdated utilities for both running subgraphs and composing supergraph schemas. Please migrate to the appropriate package for your use case (@apollo/subgraph or @apollo/composition). For more details, see our announcement blog post (https://www.apollographql.com/blog/announcement/backend/announcing-the-end-of-life-schedule-for-apollo-gateway-v0-x/) and documentation (https://www.apollographql.com/docs/federation/federation-2/backward-compatibility/#is-official-support-ending-for-apollogateway-v0x).","repository":{"url":"git+https://github.com/apollographql/federation.git","type":"git","directory":"federation-js/"},"_npmVersion":"lerna/4.0.0/node@v12.22.4+x64 (linux)","description":"Apollo Federation Utilities","directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"_nodeVersion":"12.22.4","dependencies":{"lodash.xorby":"^4.7.0","apollo-graphql":"^0.9.3","apollo-server-types":"^3.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"graphql":"^15.4.0"},"_npmOperationalInternal":{"tmp":"tmp/federation_0.28.0_1628013452194_0.8495179840468334","host":"s3://npm-registry-packages"},"_id":"@apollo/federation@0.28.0","version":"0.28.0"}