{"dist":{"shasum":"2c6e782d7ec64fea48ce9e199ed32a99ce86037e","tarball":"https://registry.npmjs.org/@apollo/federation/-/federation-0.8.1-alpha.0.tgz","fileCount":262,"integrity":"sha512-Kn5uhbiRupNZcmFvHT5X+bV4BhirZz4OoPhEzwvvTFx2TN9uyNKMXWyt5ZO7okDBfqxXef2aW+diFAp9U1vALw==","signatures":[{"sig":"MEYCIQCZHLSYTl10yFPQsFB/PiPD0TbHe1GL+t+1wIridtnahQIhAPr2Qn4/OhOXzaGavAF6Jr34cikx+i15Cycm3IYW6U4K","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":510579,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdTIbPCRA9TVsSAnZWagAAbm4P/14DeR8WBOP5qP2tLepL\no3JGrODSk3th9dCHrmFKg82zsAcgYV2jRQnsHeNdGQxbDRe/MrBQ7selrMZ+\n7oS8wrsdsTV2w8v1TiQKRln5dF80Y/SwJ/GxorJ4YzgB3TsAbFUW1g2W4Q9b\nfPK4qv2FzqPlSD5wMIIRrwJi3y0XJWytqxzVlwHgi1lZWVz1KEkuWrqruvNf\nQ4FFTlIab/uZNTJFVs/rKqvACWQyaxxNc/7FfrF4998ywKw4BGZ36x2k+R9n\n23v8NRWrAXdgrXMAw5aYl61q6ClrIv7KCE+H3R5K9Addk0hf4IinVcPbNcaE\n48+FNHFIRNms5doNwnfDE+tlf2t8DpSSeQzHc0HtW0uHbrHgT/1yKmFwn2jz\nTI5Q3TvwHCEEhmxeuCzkVG+pqMTalDl7kNN8afHpfmrsyFQ7CXI1oEydwLdT\n25nKqteiWjR1EcJPdUMp1AnM8B76V7p45Gi+iXN/0iSvosIBfWjc2rMFgqFn\nOxayqWfZl1ZExOGm6qZuIKN08PVyez4RFMJeFBDGH576UJJDjrzWGP2lwGqL\nN44tDP6dDqlHG97VO0d7GQzNgjEtBpjS5hKtiIeq0lv+6IyTuLpY4IQAmsJ9\nlRMDnGl2RCWhWdveWbrx5OsanVkGTaxrO/v/1zJxwyD4ETr1FRLgfKukLhGx\nrKyo\r\n=VEDf\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":"d4376a7d60c879244b04f73b072011a0dc8ff37c","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.16.4/node@v11.14.0+x64 (darwin)","description":"Apollo Federation Utilities","directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"_nodeVersion":"11.14.0","dependencies":{"apollo-env":"^0.5.1","lodash.xorby":"^4.7.0","apollo-graphql":"^0.3.3","apollo-server-env":"2.4.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"graphql":"^14.0.2"},"_npmOperationalInternal":{"tmp":"tmp/federation_0.8.1-alpha.0_1565296334919_0.10875155435023909","host":"s3://npm-registry-packages"},"_id":"@apollo/federation@0.8.1-alpha.0","version":"0.8.1-alpha.0"}