{"dist":{"shasum":"5474fa972e477d4ee4a09803102f5b3c0c82d539","tarball":"https://registry.npmjs.org/@apollo/federation/-/federation-0.14.0-alpha.2.tgz","fileCount":275,"integrity":"sha512-GRb6nlJSCQBhDTaAgcC8Nrue2Nnc57bvKsOFrhlqqL4KxyUw80r8CQ0YYRQMNS69xWVxPNTYp+Si+OgUFCnj7Q==","signatures":[{"sig":"MEQCIBsmTTC/RyNcXbGN96AO4Bt8oSWqAV+qiV7IJ8hdYynvAiAlpnAuHhr3RpopH8uVOAzqVuMXGpQl2WAtWK+0rJDdFg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":574555,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeeMphCRA9TVsSAnZWagAAESYP/1beZ9v9YjeawZitqnQ0\niyIwnCiq/ZChDlJLYChCCNtjHEXulc8oaQBt8hURDx0qlVOmwtyrm21BBqYj\nbAckRKsxDFDN8qbwpvr+Hk2DnNXo1VcymBUqvwixjQkJtQwSeYkJ44ZVvSLb\nHDf+MGUtnk8EIb91H4Wcrki3+KFuEHsXO9jF+PL7/NoW6m3SossEzEd/joiV\n4jC5yPpNimCmr+pTbbcEH3REO3AugHFjlWWD3maJZrSbOBoD8kKmOoPUtLFb\nRFDU3sbwQ/cqx2L+zBlUeizyG1liHhHmX4aJNZDm5TWS6WN41eqXZM4wza25\nlHIZcd57rKYbmhAeyEy3UconyrwSdA3BG0YsgrMBrg2kyVVTRYrbg9IXZ6CK\nqiJgM8TZEE7u1KmRfHSum27tRjbow/5U+IusXzkiV7KvMBL/qdWRHXhOazF6\ncQMBRBjqx86ORDwJPiLO56Bv7+X10WkeCZxTYNfoZqRdPOdpMm/RtuGnLw61\nbjJD/XCRmPiL597dFkY7ai8NF2GkrwAcWCR7nOO/QTvHwAvnwfTIJmXb2fYK\nBXHfMUM0v3NJ7p5FrzoNuBAnTmjAJn0WcdB8vCsTwW5E8Tq+GUF5mpBi2mz6\nEKB1Ung9G1wsEDQIYM77IkxXNLJkKAkn0b/CV9TDuA7y0rhU0htbpps1Ate9\nhp3W\r\n=oslB\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":"34c707246f8df95a1916aa59469e78fc3144c8bd","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-rc.2"},"_npmOperationalInternal":{"tmp":"tmp/federation_0.14.0-alpha.2_1584974433240_0.3202213026922418","host":"s3://npm-registry-packages"},"_id":"@apollo/federation@0.14.0-alpha.2","version":"0.14.0-alpha.2"}