{"dist":{"shasum":"4e486c775bc019d2003054c8438dce64a1ff7c97","tarball":"https://registry.npmjs.org/@apollo/federation/-/federation-0.16.1-alpha.0.tgz","fileCount":275,"integrity":"sha512-OVE2g0dUWuu2TTEq18iEiRM/vVUHaBvNzG3dRXgAwhsJ9RYHVmudj6KxSsFznzfrZrQVgG9aVSY35YtoNRpaWw==","signatures":[{"sig":"MEQCIEVXmz9AewKJ5VTCBucCwuPXAH0kbCjJ+6WwrC57UB0EAiA5AFhFGp9tbZxp6fIlkg6aCcG/7LrQMqVE97LGGIDVLg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":576643,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeu8aLCRA9TVsSAnZWagAAOPsP/ibP4hR+bs9GXQll+GTG\nV/c4QWgHHBSZEAIg5Sx9UirbbI3wxastgVBgX0+QNdjENWTbSIPTCr7Yy2qY\nntYt0MOwSeoclZOg7cK26abaM1LfRlzAL7tVRGYXroZa8Jd4sLBEcrP61BGu\nqayLCc7bTStPrFDzBPXdMKT7d6YEpiZiJzT68YMLpVG46LEJVvnlwrkr/IUg\nWHRek+v+jUvu3Lu6YHf/xakxrodSVSDS24H3TUgtZuvuAy8PRoda3gV12iHs\nVGUtKpz6Mn1sqLDQPB1x5ub7gxRuzc9g6SWmoyc21fgcsc9iJmmOYZRp/s3d\npuwf1NlVYRQC+ARR2hlWapGAbi2fv+ZMpBu0JHIF1rzJnPig0SuRb7j8kTlo\nuMqbvQi/hgkEKjmNWvX9HRD2XZnxt+yhDapB4+MCsvkuGDxcUEUgM0NEYIko\nNWKk5pfU6fvkLYk+kWyGLAw3r4XD1zcfJQqPYcrxUK/dn0uOOjxKLxR5du+b\nrS9hXr1C/TIl8BGXto1gE1Rgfzip/rtbdiVEKiyR1BH7oyoKNwREWSPn/xsW\nJO9lkcFVfzt8aUIvBEhQgFD5jHlYJxQ8PUIX1If3YQ/khwrABuXWCMk6T6AO\n/ktyAL/Wk5jL/uXM/nv4d6CNozZfLpfgYYQv9xaN+d6gEbtj6VsXHG/LwpqP\nXIRg\r\n=4iqV\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":"bfef89b8cc44d4bd94f9d5fcd3df8941de526360","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.16.1-alpha.0_1589364363158_0.7148797276745569","host":"s3://npm-registry-packages"},"_id":"@apollo/federation@0.16.1-alpha.0","version":"0.16.1-alpha.0"}