{"dist":{"shasum":"2eb7c98cae4edbfe7cc168c59b2066cbe47c4de8","tarball":"https://registry.npmjs.org/@apollo/federation/-/federation-0.14.0-alpha.4.tgz","fileCount":275,"integrity":"sha512-8IjKxbUK6M+HUN2k7BNDp5NXCaQ8fOKNT/ga1YmEhZtyV5S23K1Gr4guTpadiDGqnvnQhu1BlmMUu8g6fKucfw==","signatures":[{"sig":"MEUCIEnLO0Po2d0sjOYrQI1o9CIj6tT+kG/cP3L1aaQX415/AiEA+2RAWxc/KWjpes36PeJxgt+iNmZHtrSPQGwJg/OZEPY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":574555,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefLP+CRA9TVsSAnZWagAALFoP/j7O4vWJqeuQs+FAwSPD\n5oAz0tlbbl796cAwuyks1IoWtMEsR3hX7NZWzibWemEvx9yNMLOeSnpmDc1P\n0rx0us5VU+rP/KNwlUwaJV9xcTkactiwfrqjy31Q985m7dUaYE+wGA/yWgOV\nPHB8POBsqKwoHpgXxCXmjYLSgKmRGruNrFkB86AkdmjlpYk1/yTPn8TJWu1n\nnsJOWzfZhVXUCl1hpbbxNksNMpgbQnfrOlGLaU+gazhOYJy4YRzSnKSVxidw\nQ8wNceupt3rpN/vkIABZckQEzFJunfFHLc9VwG22J2V49hYFUUNTXKQDEeLG\nfPDWUgfNKU+k+WsfJYCKS7Br6XmWnO/r8YLg9rmkOVBU9xuJ8pF0Cz2RhaGV\n6yd5yLHW0BTFfTj4+j1Dg8rAoG5HVZwqTZMuL52f9QexUjIWBR1Bdpf/Kf4W\nSYj3EjwTgmPna7A9wH3jC9Kg5qVeEm0DVaPlsjQpP7SpqwNORd+VZBEHP13A\nM2UZsFrGY4YSXs0Fm9mzAwkOfrMwkrp278fEggH5E9G07LLTrLOy+nwoxRVE\nLsxwYgL3h2I9kmtnR5z0QNxUYuxFiJa5V9IzL2Fjno+cGhlBFi/t61hJ5fxO\nf3LE45PPTNf6qhtwrVTl9VvO+HbmSDmkTur1X8Ot9MDAFXvHvL71UxjZm1L/\njp2L\r\n=Nwfh\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":"a6189b32fec3f1ea1ee717e59d89c8137797aa50","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.20.2/node@v10.19.0+x64 (linux)","description":"Apollo Federation Utilities","directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"_nodeVersion":"10.19.0","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-rc.2"},"_npmOperationalInternal":{"tmp":"tmp/federation_0.14.0-alpha.4_1585230846454_0.011338804151456827","host":"s3://npm-registry-packages"},"_id":"@apollo/federation@0.14.0-alpha.4","version":"0.14.0-alpha.4"}