{"dist":{"shasum":"70b84cd4f6b2a45287738b25468d598f05f50e17","tarball":"https://registry.npmjs.org/@apollo/federation/-/federation-0.6.9-alpha.2.tgz","fileCount":249,"integrity":"sha512-mYppwnyrd4OgjkoEyyd5HM5YvR5pW1pBXH4rKc4vgNDHYLbnlF7XF8oBcOEU0c8FZPdSvgMn6G0CfMKb/+fObA==","signatures":[{"sig":"MEUCIDdZXMn/WGKj1MvufFNaPX5wPuQ0pwWRvWweFkUXmlzXAiEA6OV26wkgiYmJj+apw06eNrJMdOrUDZp0sk967QqYv6s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":431981,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdGTLoCRA9TVsSAnZWagAAejEP/RWxnTqlrOObQbJteH8+\nvfgr76G4tollN8yOzVCXPX2lXebZDS/x1aNlZHloqTN+7mWCOQMsCj8ctRof\n63USZnabYezSw4ApDq0I+ycXWAi0AIb451iow1bz1TDSjRfrH6NZABS0pB/m\ng+6G/rDUcWW11VU+4d8pP517LGjg3njp6kbSuiq85lsk7geTjoSRIJERunhr\nRtl/lQQERVw+3jga1h+uRI6JYSc4tCYEan4feeJFEHfJP3f34D/xrkYJKUjY\n9mHjCED2MnjL2lKrUzW3e7M4miFeF4kGmgaSfWBUDJJWtScwrdfp62IVv/8+\na3tL288dkqwpndfrM0WRjs5K2hJJO4KOQkgtPAER2ty/WI6rsjWVuBz1IHtD\nOOsOeZGWSqoGkzvbZI+yPK4RDB/0gqRXWggxl9/QrP1qJjguTISaqlBOzjgl\n4gaFjC1gDKT7tJ3v+UDHIX6Vt9TRGazGk8lPbwp+mFOYcGHp5b+UeMJZaL+O\n9/6KbRcc3JG31yjflfMpoxBnYGaUismz2Tf5Ew5CpI0pWLh51E2rFEdYIjCN\nP5l7DDIwCmN12m5zTl+ZrEovs/WrQHif5AyGlqCUpOP5yf5Hdlmfqsz1A/MZ\nWy3n7MsidRuxRT42bXDZUKvFwVyuIz7vdWld8mizO06bZJp0iqkW9HI5Cnb4\n5zBq\r\n=tC3U\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":"c42d817836c10e3b59cc1afd0163eec59d7bec90","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@v10.15.1+x64 (darwin)","description":"Apollo Federation Utilities","directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"_nodeVersion":"10.15.1","dependencies":{"apollo-env":"^0.5.1","apollo-graphql":"^0.3.3","apollo-server-env":"2.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"graphql":"^14.0.2"},"_npmOperationalInternal":{"tmp":"tmp/federation_0.6.9-alpha.2_1561932519379_0.9722108035170278","host":"s3://npm-registry-packages"},"_id":"@apollo/federation@0.6.9-alpha.2","version":"0.6.9-alpha.2"}