{"bugs":{"url":"https://github.com/apollographql/federation/issues"},"dist":{"shasum":"8e7cd010582d112f967fffcf85429b225962fdd1","tarball":"https://registry.npmjs.org/@apollo/federation/-/federation-0.21.3-alpha.0.tgz","fileCount":293,"integrity":"sha512-mxt4DETmTVbj+F/wBaKjeZ0VYbcd8yrHWwP62zfDk8qC24uOzzlnKJ83lgY9n3y0JR37tABaGgNeAF2tplTKPQ==","signatures":[{"sig":"MEYCIQDpGCfKaDJmlzT2mMuW52ft/h3HB1a+VUPcmjAI1L264wIhAJoZdPbLp4WJUhxR6sXMs5/cGBw2FTdVeB9nvCWr6TBF","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":727538,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgQn3hCRA9TVsSAnZWagAA96MQAIZqVieCB+ZUBJFwpHbb\n51MuM5nmIxxfIOhskt2TpM6HpjK265F6vdFV2ilqR7n3Li8n6eqmXpPR8s9g\n+2vv8CVpSPoQRjgAY3OA+ToRQOLW+k1r0HZMwKqaognKg8secp7HThur+T7m\nQDicXrk06iFXvgRTMF/v2yKWApLDKyHE+sspf+/kSF2X1bz86yOYZd22WMue\nv8pehos27MdgEnPaB4HNTCZMQNGQtKXYjcERqlB7zMy4d8PDhTeHq4zPOKQp\n/3z7cU9uVlX9KkoUVzZTiUZzTeTkQp4K4ffBejMasaCupMu03trwzq8MbNjZ\nbxai9Xbbuu/gZEX9++gJTga71SfiPol3QNgezUiFqXxHKdQElv9IxhwED8bj\n8d8Uis+u/41Ovr9wMM/oge+EkXo9F0QWxJUXU8W6lXfl3jIB5n3SkUoAS277\nQ/1SHvRL3mbmEPM+zIge57wjFsf+95qhAkauREx0xQ1NWgOyNMMkh/vvoUmb\n6T9SRt38N+zRjmukEMDjXwQSBG+Y7DUv5M4StA+EeokghjQQ6KQrmkQ3QEK1\nP401KWRn6fxqAz70ItPTCamZPCQfWIj9Ixme0zTP6ERoGTa8BADODA/8AZRk\nFx/zLPHj6wLCUkaXyLaxVqt0AAupP8gLwdpVuko7BNRdxOAwilTmPHUQxTzM\neJjZ\r\n=Bjc4\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":"ac300f7b3d418f56a0f979ca73f8106489c10735","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.21.3-alpha.0_1614970336738_0.6061496739259367","host":"s3://npm-registry-packages"},"_id":"@apollo/federation@0.21.3-alpha.0","version":"0.21.3-alpha.0"}