0.2.4 • Published 11 months ago

@honohub/graphql v0.2.4

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

@honohub/graphql

The useGraphQL plugin adds the GraphQL endpoint to the Hono App. You can also enable the GraphQL playground using the playground prop. {{ className: 'lead' }}

Here's an example of how to use the useGraphQL plugin -

export default defineHub({
  db,
  serverUrl: "http://localhost:3000/",
  collections: [collection],
  plugins: [
    useGraphQL({
      route: "/graphql",
      playground: true,
    }),
  ],
});
0.2.4

11 months ago

0.2.3

11 months ago

0.2.2

11 months ago

0.2.1

11 months ago

0.2.0

11 months ago

0.1.0

12 months ago