{"bugs":{"url":"https://github.com/apollographql/federation/issues"},"dist":{"shasum":"8113b931dda64beefdb50a7b82ae853a2128fb02","tarball":"https://registry.npmjs.org/@apollo/federation/-/federation-0.20.3-alpha.0.tgz","fileCount":293,"integrity":"sha512-5DiyrVJj/cGERZi5ZdP21gx4tQJ8CvkJugcRyy9xk0PT8LpuPCokHHodtNH/uv5yCfi56yiy7GqjwlJy4uTFJg==","signatures":[{"sig":"MEUCIQDghH9U/joIdQArXpK88AF5aWHL8tHZgXSSJP9x68XYvwIgZt0XMOzbw+vzkJbeZvFTngeMaIIiqwQqD0m5PsUJQDo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":706439,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfayhVCRA9TVsSAnZWagAA97EP/3UwmQPR16aGqJxEVZqe\nFyc3R74xdlULX9CD66yvuSDIXbvfMA9YK6gwuV+KzW9KfGCatVes8KxzjxGI\nfuP3fEz6vb+/h1MicGxFn2pC7JDW0/mzE2MP/gIHZxLbaRrt+BlXG+LcL/Ir\ng59icsoPfaIutQXn8LgqLhlxIBGYzNb+aV1IFqjQ1cvH9SPMvY8Ut6n1HlHl\nr5bVhpPsg4RqnSmnPxxRsB0cNT39xs1dllbSBmym/sbBVg2gjKCorCn3B6KT\n3sLeK/KlRZGQmvbYU+Hy6Gd1bT14WZXcQRvleIrE/oqhpkaj/IA/U70iM4FB\nenFueTav2mxdDbKzswnYx/3vqn5ehureWe1Ksp/XeBRkuuO3lx3Gt4Y5PKk5\nTZXPumYFH/MYUO10w83/Z8Bvh7NsV/EGQkBRn41ImzC3ybXWggF59v4gDG7+\n+9OprJJ7MQVqgP7hXGAg+fwixMpc2Vzs7mHVn9ItwuPRGP919zkfVYf5nU4I\nlt2cHflW882heOm1bQQJaB0IzlQAnyQUPAaPxCxj/kxN9qzUOvp+A6QwwZul\nS1TR8/vIPO/qijrrotsyaVWyh9+QOp2ObHjZDKouBSxBNnciK34hcQHlBlxn\nbaNQCvFuULrLCHubZokEJuxrXJYFbPTdabIQaSdqD37Vpod2wYtha6ocNrVd\nfiv7\r\n=pms8\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":">=8"},"gitHead":"74264ec05a76eacd9ee64abdaf93938175a1cff5","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/3.22.1/node@v10.22.1+x64 (linux)","description":"Apollo Federation Utilities","directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"_nodeVersion":"10.22.1","dependencies":{"core-js":"^3.4.0","lodash.xorby":"^4.7.0","apollo-graphql":"^0.6.0","apollo-server-env":"^2.4.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"graphql":"^14.5.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/federation_0.20.3-alpha.0_1600858197029_0.21491948050372","host":"s3://npm-registry-packages"},"_id":"@apollo/federation@0.20.3-alpha.0","version":"0.20.3-alpha.0"}