{"dist":{"shasum":"d96500f86a7accb7f4bebdc0c5d4f0d954ed0c58","tarball":"https://registry.npmjs.org/@apollo/federation/-/federation-0.13.1-alpha.0.tgz","fileCount":275,"integrity":"sha512-vRglOyIvzucAkPVmpLIB+YLrKA9eCeUyW0BDmmbBAva0nqyERGZPprA46SpfCcvHElOZKbeMYxB52/AzBnK8Xw==","signatures":[{"sig":"MEUCICjh74i7nBsOBLrWskbsivywoVY+1jHlaqsDXAELXsDXAiEAjHqIPrekrbZbZvmXbwIeC4Wh8ANz9jjjv/oEm1M+ZN8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":574485,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeRr32CRA9TVsSAnZWagAAmCAP/1kliXkzgbsEAVH4Z+z5\n9G8mr14qfyxJoJRyM4NeU7rrdgb6p95xkNhQ9LfhQUT/Z6MGMiSp64bfpL0Q\ndZP33EXcQZzojaFKS3DvuAo9FyERRFvScMwaeQpQ7FDGMG7HQ0SHolKR5wz/\ntygyOO0eUj3LHMzrqN1u26QRRPIYF6aGNFgfXWf7p6Tg+ZqR57QyKM7Sw+gf\ndOjSvCQsPkkVNUu6ogO4NoYh0c5sUl7LvZ/UQNZOcVxLQ8ds6MxM3LaiAQE9\n4DFFH24nNuhr82PFTqAZ1jOX7XwyBQWmjBYCVNNOfSGprFK6P+pxQ86Zva7H\nHDmFaADhTGR6KglperqACpuDme+CYZDiisMpkNg9ZeedTGAJ6fWdGdEcbh7e\nnvQDmkcnX2NoPGikEI55kS9Ly959tfL13TqxIQwMVzp5ptCjZqvWeTTz9+0B\n9+ePbSnjRkzAlvJ79deJ9VLKuX2SKM4+OKTaT21GX9WXaf4tSndK4aTJddKC\n3H463OmkG1ZGlAHX0gIdkM8H0e+D9IR5GjtydTBJra5qe8m0k3OmvjSPYpcb\npd0hOQKsig86qXpQRjkhr74f+6S+z9H88XMFxlQAAWUV8psXiHrkeIkpgArc\nkTDwHH8JPABfUlJAg+qAik/BR3DFDi+vkHIjScl9c6WM5J0RIVa3iRUjEjFV\neOnL\r\n=t2lO\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":"df345c6a4f202c32a2e61a19ccccf79118450d19","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.19.0+x64 (linux)","description":"Apollo Federation Utilities","directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"_nodeVersion":"10.19.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"},"_npmOperationalInternal":{"tmp":"tmp/federation_0.13.1-alpha.0_1581694453859_0.8650085814460535","host":"s3://npm-registry-packages"},"_id":"@apollo/federation@0.13.1-alpha.0","version":"0.13.1-alpha.0"}