{"bugs":{"url":"https://github.com/apollographql/federation/issues"},"dist":{"shasum":"816a9c193d30f05a72c1288bd656b2ba0f9e95ff","tarball":"https://registry.npmjs.org/@apollo/federation/-/federation-0.27.0-rc.0.tgz","fileCount":307,"integrity":"sha512-+/jCwvTLEPE/g8QzRU7dOtYsGwkfer3odUI1jyVWtk0NV1sRVr8Dyd674nBQ5p6Cw93NeNRvrp3Fa/B4AxcV9Q==","signatures":[{"sig":"MEQCIA5b8iWD+qCX5vdMCxvf5PCdu68y/Lvqw0cVVR0O1bh3AiAOLbec3eFbxjbS6cfGIPDLyUygpDnO4Hyx4YFAsXxkeg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":823386,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg9b9wCRA9TVsSAnZWagAAD9wP/jyQ6iriZdEv3t97wYYn\nnHT3JSID3aFadZUjsDtKCJ3vRKnG6lBOKvQIDm37mQBf5sxPTdZXn+0r39cL\nICEHkukT2PqzsHs321+sc3HIp35H5kspYJxjCBC9we590HUb4FUWlfF2YY9I\nGeZpQvzG40JV6JE2mC4QmSnkJq/NAhA68xE8R8UbiPq/WmbyoA+FstK3v1Fn\n66voSaNSi4pcyUs51is2NUDSZwQpWE90cPlfmERech3YA2BhVigoVdZn96SR\nRzIM8OAiGY5Edu4TKVqTPAHKRRpm9vGO69MeVrhCo923WC6cu0899XfmfeXw\nAvXwmHSZv+3cmFj8g+VSYkHL0zGSKf1wLKiJNvQ6lZQUL24+f6DmONKNllZI\nXK+lWuPb1/QaW06s5J9/TQkgyhPVC5Ne0Qco2NATAPySCm08MyCw5E8mVW39\n3EPfXkjor58lBpO2sZ4CSJTmQ3fGhaHw/B6HuTUWj3BI4/H9W1X1UnNLqgrZ\nlC8Gs+yvZBjk7fq++cSc4ibF0sDUsXW7DArX9JiUFN2xGfeffpl/PZ4QAVHb\nz8anqo2ETHopV0aftktYRTLCJvllYMiEAUsyaybBRZdyvlNDOGoAdPEpDJel\nS/Qv1W4j2okwAM/lm1oeKYL879c/rbgeNmvhdnU1WiihRS1SqRic1Uu8oaZi\nydTs\r\n=Ikz9\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 <17.0"},"gitHead":"fdccf9f4ea9db55a91f9ed12d6a15537c1b212a0","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.3+x64 (linux)","description":"Apollo Federation Utilities","directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"_nodeVersion":"12.22.3","dependencies":{"lodash.xorby":"^4.7.0","apollo-graphql":"^0.9.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"graphql":"^14.5.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/federation_0.27.0-rc.0_1626718063881_0.032923691317764625","host":"s3://npm-registry-packages"},"_id":"@apollo/federation@0.27.0-rc.0","version":"0.27.0-rc.0"}