{"dist":{"shasum":"ee58591f5da9bd6fbf7594d9bdb2518f728d2fd5","tarball":"https://registry.npmjs.org/@apollo/federation/-/federation-0.14.0-alpha.5.tgz","fileCount":275,"integrity":"sha512-kXEj0LzaJBG58oZ9eQAr3CewVnWWcLkjlU0ZNvtbQQ9xa2myzGvpRarXtLTX1gG3898MWi9kyBf54JlOz2ZHAg==","signatures":[{"sig":"MEYCIQDf5W5Uowtc50wAUHEeLWlj3q58rAzARkQCtFEJYGJmUAIhAIZBVp+fOfJecJwxqgYjrvuQ+ehh3bjHpJsEV9SqTS1k","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":574550,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJehnDDCRA9TVsSAnZWagAA+msP/0YD7ewIj+aj9GFS3B9i\nqWLN6l4cuvn+XrGDGZJsr99NZo2jd7HcXBxPcc32HXE1YlXD+DC0zaak6NMg\nylZt/svPR55uGqS7FtCm99nmSFOAjJ3HV5PaKlhMYuwXOVN+WmIRJQ+51Rsh\nti2TMVaz1zLpnKBiDHlNkLN++zZv/+sawZbbp0hza3s65fJ5o37jvAXS9flu\n5QMKzGsnHfVySyZDKr09vU0yb7JF2X3a+r9gqjkraAt7OX36POd5xmzP6zEb\n3WHmES88uAu6ta33BFWAcEKNVfme2aIQlZCbmotqcA7oYIoaRCnyCFb9kZyX\niZigjOaakbQst+DGwNImj8UWS/ZTWO8pqq4cHZm73IPQJ/hD5HbKUcUxuaKZ\nQfsdClsi/alfQKVLLSoWkvsSS8T752uQzbJpQptjYSHRynIQ4cdprJrnGlBn\n/mlWHNlosTwhlpWobIV7b7+aWyFGUr/WGrkbT7+2SQSaG/EjKX7lXbRnngEv\nxxJ4JT3TphMnArPHAGRbkmICVsYkUcIvsgej4sa/idbXKV+qUiiscIECAFnM\nxYTx+QzWRhrNyrgavUT4WovgxXcEQQ4A35og8GnqvccPZOI+1XcXFnadBzjB\ndZKKDWB7FXu5n+2R5Ez8r5f+wXgu6Nu8+6Ck1zqgt0h8EGoKtBaLbIPDpTBf\nQpuT\r\n=sGcV\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":"c69557b0e94e15ab2ddd031ec46f20f58cbcb96f","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"},"_npmOperationalInternal":{"tmp":"tmp/federation_0.14.0-alpha.5_1585868994751_0.7970484452681763","host":"s3://npm-registry-packages"},"_id":"@apollo/federation@0.14.0-alpha.5","version":"0.14.0-alpha.5"}