{"dist":{"shasum":"8bede55cbc9f6ae262da36bcf7796dd5004c030b","tarball":"https://registry.npmjs.org/@apollo/federation/-/federation-0.15.1-alpha.1.tgz","fileCount":275,"integrity":"sha512-m857hPOzR3qNRATkG/q96GuUbld0BgXPJm1xoTNKhiE0yqF7PYRidatbMUuBlwk3m9+oSQuY5TjkWYlQTs9q8Q==","signatures":[{"sig":"MEQCIHYleG3Ofeyhc+AcTWJgahuYVvonuKz/P/vIknu5idISAiBevmgzNWwyFaKzIQKKKJ8Q4lDabIVNgWM69ya75FUsZQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":576489,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeuZraCRA9TVsSAnZWagAAEWwQAIRmsUYRe/bLwpJlkebm\nc7/YXitTupZ2jn4a/8Ig7SEBdhXzlnhTl1xUPwlz1PU55jQiYgV9APkLgjJB\nLjSIgOdpyVFj+nJwnJ/BiEqZ+qgwN2n7eiZ9w4QPUYUFBa/X5k039JARu6oP\np0wtkaVaSk5+kv8QTgf6qg9NY1ItyMr5mbNrBPpq0OtRtABhYZwkRKMl4Bgu\nfBzSV0vUvO6dtiJZMXzSlAsnk4uc0XGQEtqjgkkneGd0eRpAtJbS9Nj8+RI+\nsDFQxyflCMigZ0Ub8MNXCsRxvnKDdQAUd0cTGSOg7nEqiKc0g2cOfKAxt2cD\nlFy6Mh2FIFtJWlU1goKpYgJETmWf3Y6N+Lr8T3IFpL8Df6IZTVHH4VP3IUTi\nUjBOUqNgeHnUQKDGYPH6FEeOgtz5Qv+ScanmLz0A8QQWlloQwCJHsKvTpoRP\njnSyIuULfuIORqt7Dd8A5DYQSISN7vB12ot3BYQj630TymoLYEzHEOMAc0Jq\ngZQ2UT6hA6el41+5avbkkNTbAqU5Yxu9zRA++4hfHgRbvU0xgSObrSC6YXS5\n/p7vaIm6dtZ/nL+Qi2Jn5bz9+ZI2pM6wrfgYo0k+X+mWgKiOuTE9n6/mZo58\ncKHllTxfcWeJbtJxkPnI6P0i+XLgsYk5ry61Y9Augo0/Ybt8uH+BURqxa4GF\nUTEC\r\n=G1Dz\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":"e71ddc404865cfc8519241ed713254a3a73bcc69","license":"MIT","_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.20.1+x64 (linux)","description":"Apollo Federation Utilities","directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"_nodeVersion":"10.20.1","dependencies":{"core-js":"^3.4.0","lodash.xorby":"^4.7.0","apollo-graphql":"^0.4.0","apollo-server-env":"^2.4.4-alpha.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"graphql":"^14.0.2 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/federation_0.15.1-alpha.1_1589222105586_0.01216517003957196","host":"s3://npm-registry-packages"},"_id":"@apollo/federation@0.15.1-alpha.1","version":"0.15.1-alpha.1"}