{"dist":{"shasum":"23595119e8cd1b85b908cb2a8bc2c1b70492d715","tarball":"https://registry.npmjs.org/@apollo/federation/-/federation-0.6.8-alpha.0.tgz","fileCount":249,"integrity":"sha512-A1bb8xjaVl0KxgkuTE4JfbM7AMHAcKEoXZ5lhDO03lXU2uUiV/++djqM83xliMA6tNpxtStw0+YWUck9qwVXvA==","signatures":[{"sig":"MEQCIA7O//AqVQcKsut4uScXtm09GF7I+24FLOereiVa25ufAiARgG7X6LOiNf5RnCUE1fIhhbimgvEyFodK//lImgO1ng==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":428798,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdE+A0CRA9TVsSAnZWagAAN/IP/RsNIwQrtiTcrJ5mOW04\nchRs+zljGHj32GLeKx/H7Wpia7xZShox7e/XOA+nwTr5uIsQQa0MS65TLFDx\nwJPTY0tPNb2nSEAxyQxWxZKePKLg+dlurhk+JKORISiOv3OPo36qOEys7eF3\noksqtR4D+X8cBquHYkx6JyOi+S7xJ7R4/Y4Q/SDP0rOzJqJU2tfZsy0o6cWu\nshIBDRLMWi+HWh3IGyXaqkZpaMIdUPLNRavyQ9DZcI7Bkl/5OKGg2yNS1e03\nN32+cggbHH1C2I7A4nelZmQaFYnFHTZ2vn6Qk3K/GGF0hq/+OO3nN22waXLM\nfNT8lN23BPRJZhWGE9HUtt4nuPX5C5UQSiqaEM2QgKdWwTT43qJ2LEblR85q\n0mnZMLTfCnwMGo3TYEpCJ790TEP8JGujA9W+wXw9YRwQ576iv04x4+f5LzA8\nXjvNqbTNtPcjEOMiooroMRTu3CKiBA+XkG6gPc9U4V2E5mHCWLSc3xEY+oVT\nI5NfOMGAZU5MLfKcg7kCgeAhKJwM7GuV5eoE/2Nhq3rVMysdk1si+sNDk2GB\nrjbg29d63Eeu59ZAZ5r9vHdyJgC6WNA+hC7xLgjB9PyK+BmTsC81++9cLwUs\nTPUnIz+uBIx+o94C2JVwmzlyuhV5EnkbOPnbEfj+TaWWut+czHvxv4Fylk6o\nixIS\r\n=jU0v\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":"93377456f4395b666373d85918bfd0860ce92b31","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@v10.16.0+x64 (darwin)","description":"Apollo Federation Utilities","directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"_nodeVersion":"10.16.0","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.8-alpha.0_1561583667679_0.5833660421031694","host":"s3://npm-registry-packages"},"_id":"@apollo/federation@0.6.8-alpha.0","version":"0.6.8-alpha.0"}