{"dist":{"shasum":"cc86304afd7fb0eb57947ac7e7ec7eacf14ada2f","tarball":"https://registry.npmjs.org/@apollo/federation/-/federation-0.6.11-alpha.13.tgz","fileCount":249,"integrity":"sha512-qpA3ht8m9AW4IolNVIq+nyUt7hWzWLUt2Pwvt5TcUHucwE+UUsHz0pUckWwcBXCAQazt9j0uqwtaY75+zRNDCw==","signatures":[{"sig":"MEYCIQD+om/aFyDofqvAgtUaIwaAPj1fkIyqkECIP//3tiW/GgIhAKXkGKweNusi9t5lOOg0kFWpfaExWRNfL18JsHdR1Wsu","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":436532,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdLHR9CRA9TVsSAnZWagAAWg4P/2fBK43pWhn+3dYtYW2S\nsQWZ71syt1Urj1fcw4FtCW+el+ID1+iE3zkPYWsx75uR4YpwAhEs7YdUXaNL\nJmvZFyBUKaMWVyLYiCzAQSQNtkb/Zq/dWLzgONOxspyBkkIlKa1+EeBz0Dxz\ntqIOR/zKRh/3hcTtwtF7CyFZkl+kAb8S5oGM1zWlu9P13CLEI0ZrOdELvOYR\nnxKbqmm3Gqa6oxPficp1HU21gV9TKTsn/MpX8E/KYekdVPmvkvBDXhpEP6Q5\nQgoopUccOtQBB3WiERB1Nk7fECL77DO9RX/EMOg2MdpApZccFvMN9zwoiNxK\n8Fe/isEIWj7txskuSKTwEL+FoUUvmqNHyvlQVHeUCwmjLqV4hmoP2qSSLGak\nL+ko9c/+TTq8hGFxqee6GtC94U/gzafD4J9Vcc2AEFUIjy+5SDC9aFtknL/L\nA2g4vL6Pb0FjSRorBZOVsaUt79CE77q4q8tIAAmgyhsBv+T7rS35bBlhYGaW\nhYluiN0SLjeFCNjpezWfXm/5txn3NEzsOGuHmLNQjhiixVO1yhzgJ+JB5quS\nitCZRUpaNi68Q3KqMcWgWIj8tnuKk43Cb97IZiUjTAIoUFPERgpHvJEYtBaU\nXqILLllE8/P7tAn5ZC6mY7zyakfwVjcSqd3ekVDLi+xdAKjsaJzyosGNbkSi\nRe6S\r\n=i76l\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":"b76ca731c7de2ebb4cd1cecff7e4d6c23f1f3b9f","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.13_1563194493217_0.5710027683396159","host":"s3://npm-registry-packages"},"_id":"@apollo/federation@0.6.11-alpha.13","version":"0.6.11-alpha.13"}