{"dist":{"shasum":"001e210ca979fa02478c1717d1714429470ef05c","tarball":"https://registry.npmjs.org/@apollo/federation/-/federation-0.15.0-alpha.1.tgz","fileCount":275,"integrity":"sha512-iEf3c1T2gYVoh2JhzDDLu8uybmdfMH03NKbRzUwAHS7ItOHKCQF1utO71eONxal16sCMA4DTAwygjZD8lBJnmQ==","signatures":[{"sig":"MEQCIGNRrGvot8FmFF7MCLpnj9IZaq4+Q67K4cFRD0OzRS2ZAiBii9V5NRrOq6dZFpTa0wlDYZGqqwVRaRFVV/GmP5rYFA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":575623,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeocS1CRA9TVsSAnZWagAAwt8P/0I9F+hWZKGZLL1laRTk\nsn3aDwXUHXpS1xh2S1P6UQpgVj8YMO4oY4KbevA5XXNnZmYfKd2uC43CyapO\nwl8qB+xU0/6z3Y3g7iBNHq7LE3KgkqdKCrQ4blJKBVuoihvVnUWa1Z3TtMle\nM9+qXNe1mt04QUHa3uf3GbQfPUOE0Os4CmiIg+T7QekIEJc1GczcAAbCDUBI\nwWv8jJFSlBmASD96o3manehwmVSvlGDnkP8CW7Vj7Tu4HJXtupaGj3LxEWm2\nY6iFKCABDcFsWt5D8k+J7VDrDLnoAMN7CNYD/blmxP9l6GpOM+YZTNMGjHkW\nm+zebMW5Py4wiXY0SoQwQMlQDFnH+hR2+tnhseHADa4Nt0ScXv2NtlnaQCmS\n91tv+ebF2HnRCSKvcNpgZkCfokKw19yzjSG+8ha6JgaCQ37Z5sBOS/qCdUIW\nqv/+6bjrHYck3kt6fYmv+7EBuFb1yvcuDg1PG7M5E7HDT9S0spbTZx6MM3Jp\nkaNvNJ0+eW1IkoZaK5m+2BWOiBqb6Te4iNQdxXwHPmeg2J+tdgciMlLf+J7z\n9dqdW5k5elQ89P8XKBtgYA2B7eLbXVA1YLFHubc9cIjyduvKl01evCEO5Ufe\n9bNWpS6/d8XfqOxFoaRzQmiLGXxMhPsnOJO4XdyAGJW+98aKqhtQY/fjyzNT\nJ/kP\r\n=NyF0\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":"0c73f3180a960ff5f94ea87466a7c5aab986a03e","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.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"graphql":"^14.0.2 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/federation_0.15.0-alpha.1_1587659956947_0.6165027844049831","host":"s3://npm-registry-packages"},"_id":"@apollo/federation@0.15.0-alpha.1","version":"0.15.0-alpha.1"}