{"dist":{"shasum":"83ae79915ec34a6e52cbe8ab1534a1a6bfaf3e10","tarball":"https://registry.npmjs.org/@apollo/federation/-/federation-0.6.6-alpha.1.tgz","fileCount":243,"integrity":"sha512-MLS2AJQMJUmc0gur2F56hH0ShHlblWZvaYlDrQZ0nhUpQq0mhfL1TPGjvra6cJldjKdQuDOHfKIecSqQVP/G/Q==","signatures":[{"sig":"MEUCIQDl96lYVjLoj0Pw5ZGaKCf+GsdLUVpxb3JophkyWaenQwIgdj8FreVU5OCy+tHbTUxpkERZFy6QyT5D0G3QjqXPER0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":409698,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdEptZCRA9TVsSAnZWagAASuYP/0iQ3zHH+JuwvAG1HPJS\nFe2nSyMzvJ7V0UilPgTrVYP/o2yZyh46z2O2ZiWK5lLhy4xwNPQ7PmnpCOSL\nrHfMAdgrG3bXIFszoxKkRgdFBfOcENG6s+s0DmkMQgkyZ6pYF5RWHGo2K+Ep\niAto+KTk5sQ/X9JJn5CISnbBx8ioxCgWUK7YJxA86yG/1rT6YVEhQ/0fOGLd\niYPufKu6cGdJKyxWq24RzCXLOkjdX8whrxywfQLsKsel+3/LwkrzcSYVhjzU\ngV6+7mmzf0Q1B2/ZEhZB/ywP1KIREcSE4f02XUuKfT8mJdDXiXycjXUL61zB\nSi764xV4FW+jogf2BnS0LaiSAi8JhOfFZCbnv2N0WJEpwPKpXb7tJcasILDC\nT1ntCBUiDNnKEBUHFO6wsLpqzlDNAo2IyKkylg+WoV31Fe/B4pQCvaJCS6Au\nfdCQTaEqTvweZj9kIXveccDKvvSfzH2mETgdwCaVcZO+yXegZowvQyllpwk9\nauNZLi8I27iAmfrUr52ED12gsV5DCosW2z6sGj/PMXk2x69OwWzTcwE/5tse\nCMEIIMcu0+h2ewqk4x1dkWhgIb5E7UAKPB8/tY/cpG2zTerSTSF/Ke9Byi4Y\n8y2zhC1e4DppDMc26MLnY5+B4u8uk561yY1oP8lGJCWBszcBQqo0YYzcBGYp\n2pvM\r\n=S848\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":"ec185a874c2f07b3724db62a3ec8560cfe3850af","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.13.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","apollo-graphql":"^0.3.3","apollo-server-env":"2.4.1-alpha.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"graphql":"^14.0.2"},"_npmOperationalInternal":{"tmp":"tmp/federation_0.6.6-alpha.1_1561500505082_0.35241818206576214","host":"s3://npm-registry-packages"},"_id":"@apollo/federation@0.6.6-alpha.1","version":"0.6.6-alpha.1"}