{"dist":{"shasum":"3592a3ada43601561c648dc5bdfd158ba5ca49d9","tarball":"https://registry.npmjs.org/@apollo/federation/-/federation-0.15.1-alpha.0.tgz","fileCount":275,"integrity":"sha512-y1/T19LbdYiygAtSFIgRqxN1QdfuhGVldPsjOFIkIV4igrYyS5cCJ02I5uc1qOWhEv6eT2oo5hQBrsFvfvv9zg==","signatures":[{"sig":"MEQCIFxcTpFJ6l5DQTzk9KAsYW9BNOJ9SWVcqMPYuQ+4M66JAiAq3QvPr0qFAxr2ppFe/1BtCoOcLWrC3598FIPvLjl0eg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":575506,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJetbe8CRA9TVsSAnZWagAAh9UP/jprHBVwiX9BkvSA5Wie\nThA0gSES3ewd8qAa5c0uPGdlkNtXVaewZqVPXWsBCoMzyTlCFNZTU5vl3Y4c\nsFmZr6FzbBpI9g7+Yxa6i2l2VbZWooqxuf1F9/eAOJrkyLSDy3IZ1glm7Anl\nVxEcqxWlkMLg097xCPqBgDSpWS5Oy28BBpHVeo/+LrNWfAf2TlHAgy2Q9q6l\nwK+OzLWow9sVlnTaOFzW4J3DxEPCfTTv6PgnyfLEIIoJrC+J+UUpXN0sC6ni\nRLOktaflRzVj/kKLc/XFOe2W7eAKRDWl+QxQ8wwBqa+GHGX4XtvyV+48nHCq\nVCqZVyWIJvh1BqZazL01fC4wQNL/tlk7UnxhZnXzLsA4zl+z+1Exuw7BqFZU\n5EUmBNwNj9bZgoZwJU5Vfm0BhiSrSPn2JfMsHyCNzuuuysQeqXkXPDCybVcG\nvawI1CIZC/PeBgKAs5vk7n7MSx4oIdQDaSII28MXh0db2NiQe5w5IFrMg02j\nItY9yF3fWU3EJt//c5qTfDlMoOE0fW6tLqrD/6D6NbdBK6mXEx1X6Mq6AAX2\n/1IVItRn8Do3jJqpqtPQuDuObNOd7F6IMjtjYTP795trvcydmTY5dKVYg4JE\nWpZiWYS6f4QpW3fLIj/1eDXG2vVuWRxG9HlAUN9gwjcmhlcSCKxF7U4C1fOm\nif1v\r\n=blPO\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":"626c4b6505ed98d47855712a568fc4eba9d8ff18","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.0_1588967355795_0.9825325518439618","host":"s3://npm-registry-packages"},"_id":"@apollo/federation@0.15.1-alpha.0","version":"0.15.1-alpha.0"}