{"dist":{"shasum":"ddbfbe63bfef6f3b48e574c001a133be2a52415e","tarball":"https://registry.npmjs.org/@apollo/federation/-/federation-0.16.7-alpha.0.tgz","fileCount":275,"integrity":"sha512-q13vym0E9a09/j5kG4R3CGOLV5dzWhBHAJlwx3rGWKY6pH4ZnViUnHUGa3b6crH6vaygBdXxmcGC2rfHSUWEbA==","signatures":[{"sig":"MEUCIQCCjDvR3/TwILLQaIPdFUk+HeZGT4yUzIFTswqLtOmCwgIgJuyt62gucp2jKUc5AOSAl9Sfv99YKID0AbjMPIX/P/U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":601719,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe6RGDCRA9TVsSAnZWagAAzQQQAIQsOUo/U059QVaV6Jnh\n8up4CcNTou/PsKnmK+2usGl9J4kNSDzwS4K2TL5Z28hrl2a0WE3VOSCoRia8\nMsqgkaTDYAmw+LD19vMNtVnZ/Gvi0oWALf3AgMgxbSj2w3YyBQvN/Zibd+t4\nMlYuMZlWYj3bcLOSjtX/zCTS2pr7U44wvwAbgVi5HPR6dvxdlTOF/X+3zo78\ni0Pc76RZZ0YQRb9WVP6IliK5BIn+rzgvnBpHso+fJE8MHUHx/5l1q3DnZ6H8\n2AqTQGLv8GnZv8lXbb5g9zMU+KQElhXFoZxuumRXwuQ1wyaTBfnQEY8dZHp7\nIJUvOtB6SEiNRETiYyEvPLxIQ0vpP8aPJi9bsbygMyTgCfB/eGWsSaDsSdnL\nn98rx+Gb9KqTSnyThwsdXCsJvRaD3rHqmXeblzp606vKbPH/RwZbFSPakQqJ\nm94Z2/1ibE/jzXvlXHIUxeyZ2Fs/vtuw7GSjd/wZdY7jaof4HZ7KIvnEeZs8\n8y0xASpPG0ixcIcNGbgfLEC7x/GFTzaxGhy5twy2LnB1nLviFKK93/sWBm7O\ngO+jWnMp3+RSAksbw78klwS+g3nQ8g9FcKsCwe8ygLpFxjhAXxStDRQ6+Jxw\nw8MR5Cb5mEnm6L3+t1CXqQGuTqQlOKg6bkHI1HzSNOOlqFk2CvSC5cMdNkok\nSC9g\r\n=fR2o\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":"a7d6e26cb1915a2d11f766df84d555562e9986ba","license":"MIT","_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.22.1/node@v10.21.0+x64 (linux)","description":"Apollo Federation Utilities","directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"_nodeVersion":"10.21.0","dependencies":{"core-js":"^3.4.0","lodash.xorby":"^4.7.0","apollo-graphql":"^0.4.0","apollo-server-env":"^2.4.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"graphql":"^14.0.2 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/federation_0.16.7-alpha.0_1592332674784_0.4241317600680816","host":"s3://npm-registry-packages"},"_id":"@apollo/federation@0.16.7-alpha.0","version":"0.16.7-alpha.0"}