{"dist":{"shasum":"6d067bce975e3a16a2d821a11386d63c5bf6aff1","tarball":"https://registry.npmjs.org/@apollo/federation/-/federation-0.14.0-alpha.0.tgz","fileCount":275,"integrity":"sha512-OwCMUCcs80nLkcM8RU2YvcKUrte+GV5R5Fe/hW5I/GV4xDLVMCvLiMzxgt9f6+M2zl3bwpilVqz1lr2yOYEVPw==","signatures":[{"sig":"MEUCIGl3F3cmNfiPonLko9u/NAJjpfjZBBwEwM8dyLFsjokBAiEA2XoBau846Q5Ca2X0oh/VSKzqmUaHFP3w97HBIlwdR0I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":574555,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeb9f3CRA9TVsSAnZWagAA0eIQAJVBog/ipGAUG4bayFJv\n/VrIgtjveJqaVzkFjPTARUKvorhSQDtdwfQa35FsMv7UnhntEusZeul8gVnD\nbpObPgWu4ozrpvylUODIAmJmsUZ9yL/sjtlzB+3Hz11rtw3w6bkFM7ydHT3i\nGjOiqQhADu8M15lzI9KZU+vKlAFEbKwH+ErWFpyKBjl4AYaRjc+6FiwSLQ+s\n0fbIVnn8PHxXjTGd00v6+CCu7+Cib3PRytWbKQTkiawbDd54OGP5ejtQynJm\naOofypLlRyX14nE0B86GUemRM4gj4gGJRNvOV8DYPjKVLTupnIc7Laxtj7Rt\n+N9zMROlTCzcjsedYeeSR30C03UIwzDd7mKSTguHcgaLQO3sBg+uH1gruy0y\nLxXu0oaqeM0/yPUNpem1AUS+1pk2npe/U1XOinzQNs6OtjCpHsbXNooE55L2\nF+q6IbT1impkVrZtQd3Hojyo6xwBe1XqMr/Sts8r42N7tiSBsWOmAWwtlv2T\nctBfKvVBFsY6talpldohlzFAMS7MA7D2MMnyXiAmrqtmAsxiEsfUe0NZ8JWh\nKlQOG/0++QMzOumS4lwYe7RYXt475ksF5/C008ktnPo0oOFTs4LV8NpJ4KgY\nwcMhkR9Y1Pe40usAsC24YmHRKa8CLWxzTkARMBYgGDC/iwPayqFDZ5hRlO0L\noyAD\r\n=X2uF\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":"61f912de18abbbacb2acfb20a248b88149ccdf47","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.19.0+x64 (linux)","description":"Apollo Federation Utilities","directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"_nodeVersion":"10.19.0","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 || ^15.0.0-rc.2"},"_npmOperationalInternal":{"tmp":"tmp/federation_0.14.0-alpha.0_1584388086893_0.8313571648410789","host":"s3://npm-registry-packages"},"_id":"@apollo/federation@0.14.0-alpha.0","version":"0.14.0-alpha.0"}