{"dist":{"shasum":"04770243cfe40f2b5430b2b24bef2f43683b76df","tarball":"https://registry.npmjs.org/@apollo/federation/-/federation-0.13.0-alpha.0.tgz","fileCount":275,"integrity":"sha512-q0W775YJNugVMUiDdgSAw9qqYM7t6Zpz1juB+HSXidM3AymidFWDx6EDeoEP0/Mw0hh9dXPNIVoWQfHCz7ZpFg==","signatures":[{"sig":"MEQCIEVuHpTQZcpnCpZRTF1gtJwzE2KqlzWtw9UVivDZLuGqAiBgKZPePrwly4niGCHfpGrRaKieB9ORcD2C2qcXL5I1jQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":573305,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJePYONCRA9TVsSAnZWagAAuWgP/RO1eEKgKb9pghdb4BSZ\np7NmNS50vUPS5hcxpY4NWRIk1yXg/VADbYCFLyBEFLMtW0I0T8a1+oN9QthM\naUInYUCDfN/FmJBiSY4RCsCby0U9EwwBUq5zigFCZPn/Io46f/H0mEc1i70K\nnUQV00P2lx0hUx6x08N1um/kgCvL43eE6tmeTXCDG+eqOustZ/ycM32vxT8Z\n8HsObFZn50RY1byyG0Vk9t3Mh1zrH++JtMq6cwi6fEX9/idtfdX16ql5XQzm\nwI+LKDmhV3dnUTZJnSP5F2I/6IVTCPgP45H/WJKTrL9Xx1J2Rj5O1ev4Ly6e\nVO1a3zu/2gqlWd5vqcL4NnlSWSQ/sLuyv4TpGsROfLQLvt2pNI+zwd7yO6u0\nif65mmBYgHLn0Q/dL+CwcfrkmIqTwC8SvXL5RpMpnPeG9Se4xuCFjRDaNz4C\nI8IiSbTVHDvLNvduyGzHXzRgJYye6+tpylzORsQtYqqlmKZzkQjnTOFg6PgX\norE0YbnoP3NrovLkStdUKugDLvOWL5vPPYszPgFZy+FnWF6BBsip21as8Y5r\nqBwLrH9YzLQIWih89Dt0T22dnO+HiYZ2KtU9QhFk9E8FlUD++3iz8faRMkME\n/EwukcQXFE3ovzUhrX/DsLFsApyFUnRX5rNzSrvthUfKJk2/XjwBXhm2rOVK\nG/J/\r\n=lZPe\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":"2a3e2943056c2ff75a3f631e7c55a2d1cecab9b2","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.18.1+x64 (linux)","description":"Apollo Federation Utilities","directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"_nodeVersion":"10.18.1","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.0-alpha.0_1581089676810_0.5800782056982294","host":"s3://npm-registry-packages"},"_id":"@apollo/federation@0.13.0-alpha.0","version":"0.13.0-alpha.0"}