{"bugs":{"url":"https://github.com/apollographql/federation/issues"},"dist":{"shasum":"9a8e7a223c91963fd63aa55e9c48b0215e3b7ccf","tarball":"https://registry.npmjs.org/@apollo/federation/-/federation-0.23.0-alpha.0.tgz","fileCount":276,"integrity":"sha512-n2ILXWNgGUF+vNvQ4GDtf5Bia7f86qFX1LSoIn8+5L/g8lVY3YeWm5W8GILYf9qjVJPmoiRrCCKefLiyUVjoDQ==","signatures":[{"sig":"MEYCIQD23OLBNnkT/qFtFpwLdkQxVZGbgzjdQJY4wnrKTCXsXgIhAJF8zkLXtNwHxTEDIjhYB3/Jb0GAWI73p6LqzcByzDtP","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":737704,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgZN6OCRA9TVsSAnZWagAAO/cP/jESUa8saA9LX3v4GC5t\nue7rX5byCNWeFRNhf1ecuAiNvdQhQ8wEJa+8XEEloL1MrAWMS+K6Vm6Gm2iS\nkWXA/bKvh8OuYAE+cwFL/eYdJN2kivb49LgeDkmGPQb+NWeeTQcBnVlBvFyE\n8MejVwRkt2D6chr4fRJbZFORb829LF6V+RfdWMTUuYrvA3PwguOE7qvQ6G9y\neDOIwdpXMu5rmnNc2YCtc5i7xTABWRQcWLcGT/kFwBxOc+NSZLyZBb0I9Go8\nEJ8Jl28CbA/M+TeGZgIsxKOJBh5jCWu6WWWcZ8Dysk/h7Ea5Lz20draq+9wf\nlvEFU3jx2hw2k3sCCAcR7cVl1fnIrIqej9IAqieHAdnnMwMZDvv/KuM539dB\nJ2BaQ4CpLjHsFo93dLlGYghqgJQjQAkkhzemPbGlPCxP0YVoLt5fUi6PKene\nGJxIXz25ojo6qod2dCrwKFb/+i9HJvxZEPnZseq7T4MdoTda5r8v2dlhWuWS\nlqfV2yW14nh4J+R5rrLAUoKEiNrXl9wvFXbrOAO49gkh3GvhKB9tUyjGLSBK\nLoAyjfM4FyIJOIcAldmoTx3EtIwe32TJdBBuD2/sbUS0UZ/PSGwcoyufs/x0\ndwFnKnj4KiZRUPVTbZ57sOxt8orrdIgRhbtgoey4w8O/6gxGMLpBrf5/ARUu\nQXv9\r\n=m67J\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/main/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":">=12.13.0 <15.0"},"gitHead":"267514fd99dba66849c0763330292c94208d618b","license":"MIT","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"homepage":"https://github.com/apollographql/federation#readme","keywords":["graphql","federation","apollo"],"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).","repository":{"url":"git+https://github.com/apollographql/federation.git","type":"git","directory":"federation-js/"},"_npmVersion":"lerna/3.22.1/node@v10.24.0+x64 (linux)","description":"Apollo Federation Utilities","directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"_nodeVersion":"10.24.0","dependencies":{"lodash.xorby":"^4.7.0","apollo-graphql":"^0.6.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"graphql":"^14.5.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/federation_0.23.0-alpha.0_1617223310194_0.22741286647947345","host":"s3://npm-registry-packages"},"_id":"@apollo/federation@0.23.0-alpha.0","version":"0.23.0-alpha.0"}