{"dist":{"shasum":"8138da2db48b36142b1449c79c64a26562c889d1","tarball":"https://registry.npmjs.org/@apollo/federation/-/federation-0.6.11-alpha.9.tgz","fileCount":249,"integrity":"sha512-v+CnOV0N9iyOe8QB2zusQP7HFzwJGc13iwejCUhPWCz0ivAVCZaNLDplt7ICnSJRhwiZK/01L/MDJbHFiFakhg==","signatures":[{"sig":"MEYCIQDiWLVmgelCLp25MC7t2OpjHRo7hJgXUXygEgJICqkG6AIhAJPjQP4Awv/uQhQHrspIWru0oqL9FHwjwoXKEo3LnUrj","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":436462,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdKkPVCRA9TVsSAnZWagAAFvMP/jiebr6YncXW2kmO2zJd\n7tzhRYPbz1oStTJHPtKZa7UvAvZPbRXQ5ayJoE9GUlkQZmALLq+KtqNNC3p+\nU0ogd4a8Yy5s1qI8txyzx5joh7w8GZTSvqC9fBhZK+N/81S0PkjhdL9Nw3Uk\nrZj9K4dEJeSwO6SHbAFLgddgLQxD9Hnc2YAxEKlIyE6UUb25Muxab9n9FSk/\naQFc0VoE1wdMJRNOCE3bhvYm8YKCFiIbRqh2Y495QLv/56IjI3nyPMIKacyI\nzLHyYqUSFTvq7/LWigjDwQpmpnVzuwBeh1sC/Y0jCAQw0YgkjbOnCdo6WgWP\nXIjHRRIzFlEqEN2yvgcvkiBBzbOQkxG0b4IYlrTIg52wMbbbXzT0ExO+ywwb\n1UgnSXNmuD6+J3kcbZ+T4lB+cup4e/ZIUgdVYO2JJKjp3OhV1BymOc8Yape+\nDi19cN5FDCVSFltf+IPB6GRVhCJA5+xN6MgR4gsjJ0RACdtZODSksDDSFntB\n2uTTwlHnlKZDw/Sk/GvSW+NcJ6KMQr3+Mfi5cugAWavkI3P6oCvq79zFiZmm\nRRAWnfzVwYdPQ8SAHPb0sNQjTt6DQT0guViknHQIeMZiowvejZe2gapxW1KJ\nNWRmEag6YgwF1zRDWs7LrH9W9KWfFySFD/o7glbOIss6nS5mkkS5L1SByZBM\ncjMG\r\n=bIUz\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":"0b502808ff0151acc5ea0115f60cd080421500e4","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.13.4/node@v8.15.1+x64 (darwin)","description":"Apollo Federation Utilities","directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"_nodeVersion":"8.15.1","dependencies":{"apollo-env":"^0.5.1","apollo-graphql":"^0.3.3","apollo-server-env":"2.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"graphql":"^14.0.2"},"_npmOperationalInternal":{"tmp":"tmp/federation_0.6.11-alpha.9_1563050965059_0.8451440556656102","host":"s3://npm-registry-packages"},"_id":"@apollo/federation@0.6.11-alpha.9","version":"0.6.11-alpha.9"}