{"dist":{"shasum":"e5fea548f94e73c1588f8f15f4863d4a0c567b63","tarball":"https://registry.npmjs.org/@apollo/federation/-/federation-0.16.8-alpha.0.tgz","fileCount":275,"integrity":"sha512-fgUhC2G4yVVAuY4T7Hai5lQWQ/LbssOCGG9FiTflhm2d3VaBmcB3JeBQYSQjKI2Unr0SuRDxWoWQzFNHQPE6bQ==","signatures":[{"sig":"MEUCIHnGtRf0ioRFcOQDHqC0JoIzoAwf6Lx06XSJ328cjnpTAiEAgqUnWBztArUR7zAAt7QTNS1uwH+UdX1XtKqUn86vWgA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":601719,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe6lBOCRA9TVsSAnZWagAAjdcP/2sRtygc7UVwTr+LaFQP\nmcBus5PTf3oShgcdC451d7aJU5OgZ+WPqynej8G19CeuM36gVK94W7Ibbut9\nGZ+Kz5uf0btpUzMa6ZPzb6K4eOBUTmhmhEdFsMq1p0vSWqd6zkLUTOH6eIt9\n9qm1PinJw0mCfkz1kzWdJ+kF/fxHhqY1z2wPSdRIoX0EoKGmF5HqdfgNj9gD\n7TXpEgO7SMtCE/I/Wwce4sV22bNCPzyOgibElA484BMmr+o6J0HtkuIcCTfx\nvCnRDG36o8hcmPBnnXXOmsmyBrrIsHNDGrK6uxkclNM4jwRXOEtYnHcoL2Zv\n8LUULJxgLHQcgC0fLryM1iS580j+JcND2V217BhC6XqZn6ZC6ujuw/aG0UMj\nBUYlyAq2Y6yL6+tz1hX57CM5VDcuapTQchvx2uY/C2EMxRFsSlidvVWJS7EP\nmFMx+Dbn69niQ922sbAtoLYgkvZWYvthml/SMdDVbRdb4q5pULWh3bnfW6yZ\nOR1Z5i0aPBwfSpCETmiZasmLjCUI7o/ZwNM5QfCbygUqOqh6RIiOr6Vvp/UO\nfLOt5GOGoVDh7hcDhghDKDDfcjWmqby82wNycFW06rMR73UG0kNxp74VNlEJ\nAAW0gweUmzwvjJoTrNn+kqc2IJk5BrLC3+YwQVx9WAW2cEatrJ4royY5oHDj\n53/7\r\n=Cr4c\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":"803db445585364f1ad75b1984008ce44524679c6","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.22.1/node@v10.21.0+x64 (linux)","description":"Apollo Federation Utilities","directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"_nodeVersion":"10.21.0","dependencies":{"core-js":"^3.4.0","lodash.xorby":"^4.7.0","apollo-graphql":"^0.4.0","apollo-server-env":"^2.4.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"graphql":"^14.0.2 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/federation_0.16.8-alpha.0_1592414285614_0.87391655943473","host":"s3://npm-registry-packages"},"_id":"@apollo/federation@0.16.8-alpha.0","version":"0.16.8-alpha.0"}