{"dist":{"shasum":"2d9c6b65dca4c70f87989457c1c15b8db511cfe8","tarball":"https://registry.npmjs.org/@apollo/federation/-/federation-0.6.6-alpha.0.tgz","fileCount":243,"integrity":"sha512-PMf/tz9LofKwI6gE/X0bSj/M8db/WVpVeW0Y7883XLbXcS5vDds9lZLjJSnbQ/Dx6+MmaL7eSUAyP5hosdEh1A==","signatures":[{"sig":"MEUCIGe0rcaaFvg5mu1vxJq+OUundSp9uUY6h/cgXiwY7T4BAiEAyFq0KF91wYRda02OW2Wlf06oSxgy6/3QVzWF59BSnYU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":409680,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdEpgZCRA9TVsSAnZWagAAl5wP/RGVKx/P1nQ7RCcu7LXr\nykClvtCWKdWzLgV3mLZ30RdDQh7mRsbIHrmPADgFfo+/l9LcNFfwEYR0EoFy\n2d3NnLj0dai8CyJlaJHbLewVQoZvdacCtoKcXQqqnj6AYaNKRPmsd8FoWW7h\nsDqBPCK0cpJI49rB9KXfzRcLrWrvRcpRGf9dd1CBJV3Ge+yAT73oU2NLi4Mw\nOvUFAUvbUK3Q1EI65EBM1l/soYGXeITJXdNO3eEFhAxv4Fl00HyioWP4FGlB\n81GGLjjpRSpgHbyMBSdfU2lPaEYZvQBwmfYmTHPzMuWOY8XW8moaX6yvYMuA\nu0SDx4gqdGNjYJyBIIwUxZSE5axJ8eGgQxLoOhMr1TIUAxKnAEq/vRw0wrhb\nc+brZ2nECTexWD0goyAY5irEfTDiiNE7WNsgwTb+dozIEtHtPAiXSykdd0ZV\nBc6bBxnHYSrXiZWN8hsHa2M8JjGBFkWv82Y2EF7DCqNtNgM2HSPYYL/eHjhT\ntOX6KAtHIfAPIzhpHaRa6CVO8qoC24jGUDJpje3rHKCxXMdtEQ9ge0tKrzFC\nwgeOzhq+jzQfhaLcYl90davjr+PYVgdOeW4igF3XNJU/ydeq3xGdyEtUXy2B\n0aJvfMuAzhx08VrrSeB7RIENdIvx1BpNxZKr84ETfSDL6F+HYOOT45W6LAeC\n0n9D\r\n=Zv3M\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":"9c5b3527a099573c18a65e0b1ec240c700e75ba6","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@v11.14.0+x64 (darwin)","description":"Apollo Federation Utilities","directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"_nodeVersion":"11.14.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.6-alpha.0_1561499673192_0.04132530362029385","host":"s3://npm-registry-packages"},"_id":"@apollo/federation@0.6.6-alpha.0","version":"0.6.6-alpha.0"}