{"dist":{"shasum":"3bb98387d75a444003ec11b7c9dcaba883ddebe0","tarball":"https://registry.npmjs.org/@apollo/federation/-/federation-0.15.0-alpha.0.tgz","fileCount":275,"integrity":"sha512-bLaPH111oAhjywX97XFZlGZW09W9ivbCTDZbpxRCHuIzYyHksG49S0+tWwQ0EBBfFbEc8H6bfOBe4M7rAlMooA==","signatures":[{"sig":"MEYCIQCS4SSqzjYvsZWW85Vjmni9GreJ84IL3F+nNMXo5yJTKgIhAP/jEDsCXMrJpfusiIE+jcJ1Ku84OqnjAn7ZiBE4BC8O","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":575430,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJekGMrCRA9TVsSAnZWagAAyz0P/2f07qlmKNk5Rbn1No8f\njwWjcFsH5+eQ7flmEoVXowUTUFylnYJOi0cO5Mkv13uhu6oTpTAkDfJwgptD\n/X2U0bTQFhMwPWxcrTpQBxCRsJr/TLRq/le7zPJR5FxsEIPwPwu9DTpQUc5g\n++uD2/lk3zXLbOIPwOYBIEyoBquztQ8HAvoZjIkVL8QjhTamVKANnu6ygFD0\nx67ipOOB50ffzAky0KRfWM08rxlEYdCbSkTXzralMxhz+OHlnxFivPGQnwPi\nuI0Z+9kNLauDX0PE7gAUiaBdLzolWv+yIaZFVJy28OD08AJV2PDNGLLM2vuX\nO95hdSULnX+3INRXrMVS4xG0ofgwen6ANKnsHP9XCepaIOKOKAl4tsQXf5HH\nPY7xdGZ+mHB6oFjvh9VQqba7KSKVaT85jQQa0q9RH56BE7CWPMzgn6jVlqsM\nHIlQv4HvvXp9ov7mJQu2OOv7YNlhCS3yXalGvSkRDy4vQR6bLacu3yUE7kEx\na1yJD6hAcv6m20oFDCFHB2ZcMRy3UOpwGaO1uIvh3CYtVV5kIRmbMGrnLlPE\nut/9uVYZq+2RUgm2kKEBUTaLri5daNa2a2fmFT/9JccHD7TXb2GI089a+cQE\n/pmSOyW2K7l4a/d/S0Ssze/wyPJeb2nUw3Kkjd/Pb0pfXMxInrhCJXQB6Wmp\nmHpF\r\n=mqG0\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/master/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":">=8"},"gitHead":"e8266d6ed37b1072041f9d6d9353caacdfaa069f","license":"SEE LICENSE IN LICENSE.md","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"keywords":[],"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).","_npmVersion":"lerna/3.20.2/node@v10.20.0+x64 (linux)","description":"Apollo Federation Utilities","directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"_nodeVersion":"10.20.0","dependencies":{"core-js":"^3.4.0","lodash.xorby":"^4.7.0","apollo-graphql":"^0.4.0","apollo-server-env":"^2.4.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"graphql":"^14.0.2 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/federation_0.15.0-alpha.0_1586520874530_0.6587891545708495","host":"s3://npm-registry-packages"},"_id":"@apollo/federation@0.15.0-alpha.0","version":"0.15.0-alpha.0"}