{"library":"egg-graphql","type":"library","category":null,"description":"Egg.js plugin for integrating GraphQL using Apollo GraphQL Tools and GraphQL Server. Version 2.8.0 supports Egg.js applications with Node >=8.0.0. Provides automatic schema loading from app/graphql directory, integrated DataLoader, custom directives, and GraphiQL development tool. Enables GraphQL-first development by separating schema, resolvers, connectors, and models. Compared to manual GraphQL setup, this plugin offers seamless Egg.js integration with configuration-driven routing, middleware support, and Apollo Server options passthrough. Active maintenance by the Egg.js team.","language":"javascript","status":"active","version":"2.8.0","tags":["javascript","egg","graphql","egg-plugin","eggPlugin","orm"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install egg-graphql","imports":["// In config/plugin.js\nmodule.exports = {\n  graphql: {\n    enable: true,\n    package: 'egg-graphql',\n  },\n};","// In config/config.default.js\nmodule.exports = {\n  graphql: {\n    router: '/graphql',\n    app: true,\n    agent: false,\n    graphiql: true,\n  },\n  middleware: ['graphql'],\n};","// app/graphql/user/schema.graphql\ntype Query {\n  user(id: ID!): User\n}\ntype User {\n  id: ID!\n  name: String\n}"]},{"cmd":"yarn add egg-graphql","imports":[]},{"cmd":"pnpm add egg-graphql","imports":[]}],"homepage":"https://github.com/eggjs/egg-graphql#readme","github":"https://github.com/eggjs/egg-graphql","docs":null,"changelog":null,"pypi":null,"npm":"egg-graphql","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}