{"bugs":{"url":"https://github.com/apollographql/federation/issues"},"dist":{"shasum":"ce2a49c08a1682072c08146dbaffbb8622942639","tarball":"https://registry.npmjs.org/@apollo/federation/-/federation-0.29.1-alpha.0.tgz","fileCount":312,"integrity":"sha512-NjzzILlZM6gq0ryIJ5MWrRfpYd929l2meHZWxn0AkZWi281HIlNp/fsvak0S2ozVm9xiLJggnvj2lGArXa1ViA==","signatures":[{"sig":"MEQCIDgjRNiOfrTAyaVWSExpDUjNWKPqQ8Yjwty3zV7jIjT/AiBQ24TTi5nEgGvV/nG3klsat2CMNqRDRl1f7xI10FPvXw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":844548,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJAaeCRA9TVsSAnZWagAAK+0P/2nd8uYepfRGsg1AGvW8\nJ50VqhJXE7mRYRc1OEPpCcavwitx/hX5ELgCYKBOB6IDk1kBg9UHGMsubX2A\nPf3Q9P5+ndjNZ4xRphTN8hBATXRkybP6CCx6e3tOP1uavS2AtHQG63w1RUZB\nbtm+8lWvlV6NLUBvmkC2Z275jLZY+7xGqh2f1wz1BKExSeT+X/bmuZjH6+SP\nkZwJahskDZnkOI2OXcRW63bYqrvKHBHSc5OdaQs0yqB2oNMJTO+fCa/yJiyx\nCMKJJMRX+fiXeAH9eoBWiIn7+zI4ERs9KdXdPZVYxgBeXRKp3PE94zJ+paox\nEl/xY5Jyxyr6hQwY9EFpYjjQaAAM8ANHpoMLuL96UupQsBYQL0LAokF+aWl3\nBl1QnJfb6zfWxN+ralYIJ514Eggb4c5yta6rso3K5ucikFEVm2Ayth8DNMbV\nQgSP0hDHVOqQ+lexEBJe5fU3JghXjtUu/ryIikotO+NYEAcLjcqFgCcmvuIx\n3Wac6momtCiaEiue6Ss3e2MpzuKratfKasg4mTWa3BqQq54XESaP/GM+GdHD\nhlQOey6xvrkC/9c/8Ei9OsdPgL/JJU4M8vbu9yxNwri9I09pLycfsWZW1A7O\nPM1nVXpch/ksOSJ8+2mCHtgTLAOqeWDWAHpHD/VQmswFGgMGLcvyus0n6bRu\nY2NS\r\n=Efmh\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 { buildSubgraphSchema } = 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: buildSubgraphSchema([{ typeDefs, resolvers }])\n});\n```\n","engines":{"node":">=12.13.0 <17.0"},"gitHead":"3cbefa4c0c0a7e629865e56741efa3d6a9afcc08","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/4.0.0/node@v12.22.5+x64 (linux)","description":"Apollo Federation Utilities","directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"_nodeVersion":"12.22.5","dependencies":{"lodash.xorby":"^4.7.0","apollo-graphql":"^0.9.3","apollo-server-types":"^3.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"graphql":"^15.4.0"},"_npmOperationalInternal":{"tmp":"tmp/federation_0.29.1-alpha.0_1629750941932_0.183435729621525","host":"s3://npm-registry-packages"},"_id":"@apollo/federation@0.29.1-alpha.0","version":"0.29.1-alpha.0"}