{"dist":{"shasum":"df7cd79cc66618226dee26355f8cc7c2efc3dbce","tarball":"https://registry.npmjs.org/@apollo/federation/-/federation-0.6.9-alpha.8.tgz","fileCount":249,"integrity":"sha512-IPRGJuKuv13nSrTe2vCWFj/LcnW5OgRuoHpD3tayPvQYT2p/gHIRRE0LTG05ihkNEojgKuWL7Wh2+1AHhiJPjA==","signatures":[{"sig":"MEUCIQCBccFG/Rf30WwNvVJwLfThy2jWXO2D3erU/KR/+s1E/AIgSXWNlamqSR4KzMCXhX0f8NUNv1qqDcYHOihDMvO9QkQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":431981,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdH1UXCRA9TVsSAnZWagAA48MP/3wcYZygfOLgtANa05Sl\n+sNLlBjWazPvIKGoCsFfgX8GYNNWMvgeILzzyEz2mzqA8mc03XUlsz0/lKtL\ndX1bo5UQPx7oGJYWlbrjaEN/RBGY1q2H7ppNOANDfZ4aEjhUvlZ7Jot14W59\nRdHe5Q1QlIjhdEks/cs1+dfkbC1KNQlBMcKKMDmvUBp5K+mtsvA9eCt9lP28\nOhUUL8fcpt5k+KCsBd3PSXTUOVCMrIP31aVSlErN6QfIw9ALPownSVnGdC9K\nYg9KNP6aXbQNY9aQc4m+v8QzRE5YU30huKhLvZXNuIdZNKxcxKVJD5yU6X+i\nBEJ69nFx+EFe7Jd5KXrffiATltJ7qadHKgDiRsUZHiDdmT0WVUzZtn/YOI5q\n4GJtfz5gjx/2Ic22EtuzHvEnA1OVWdmnr2RZFqychC2LzzgU14Mhsv7lT2jZ\nsotgZFkP+5uTHfckrsYLJ5iSfFDJbz2byXOytu3RF78ID/DHLwgCxbHN6QH9\nm6IRoYqZ/avEkUTdRXSOx+tWWTztULJ+/XB1+wae1X6MuIOFnxoGN+iPBSw9\nrM5iGjXKb/RNzvsnr06kaGwe5y+SRnMg6WnArU7H3WQZQPJZvrwTB+hw+leu\n9xFxmynK+QZ4YR1dDIH3zTBoacDdrgxRVV2ivGFrfu80mNqrzOASUGhMTvFG\nVD/B\r\n=f6SG\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":"02feb8a5fed73c529a119e2d24a74ade1e812e69","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.13.4/node@v10.15.1+x64 (darwin)","description":"Apollo Federation Utilities","directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"_nodeVersion":"10.15.1","dependencies":{"apollo-env":"^0.5.1","apollo-graphql":"^0.3.3","apollo-server-env":"2.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"graphql":"^14.0.2"},"_npmOperationalInternal":{"tmp":"tmp/federation_0.6.9-alpha.8_1562334487236_0.21899557143746384","host":"s3://npm-registry-packages"},"_id":"@apollo/federation@0.6.9-alpha.8","version":"0.6.9-alpha.8"}