From 07667534e354c35d4e72c39a31fbf6eb1c264dd6 Mon Sep 17 00:00:00 2001 From: "netop://ウィビ" Date: Fri, 24 Apr 2026 08:10:12 -0700 Subject: minor documentation updates --- README.md | 4 ++-- deno.json | 2 +- source/http.ts | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 51436ad..76412a1 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ A batteries-included GraphQL toolkit for Deno, wrapping `graphql-js` and `@graph Published on JSR as [`@eol/gq`](https://jsr.io/@eol/gq). -```bash +```sh deno add jsr:@eol/gq ``` @@ -139,4 +139,4 @@ Low-level executor that `GraphQLHTTP` delegates to. Use it if you’re rolling y ## License -MIT. +MIT diff --git a/deno.json b/deno.json index 444cf59..c05f639 100644 --- a/deno.json +++ b/deno.json @@ -8,5 +8,5 @@ }, "license": "MIT", "name": "@eol/gq", - "version": "0.1.0" + "version": "0.1.5" } diff --git a/source/http.ts b/source/http.ts index 7d867a5..7c747e1 100755 --- a/source/http.ts +++ b/source/http.ts @@ -39,11 +39,11 @@ export type GraphQLHandler = (request: Req) * import { executeSchema, GraphQLHTTP, gql } from "@eol/gq"; * * const schema = executeSchema({ - * typeDefs: gql`type Query { hello: String }`, - * resolvers: { Query: { hello: () => "world" } } + * resolvers: { Query: { hello: () => "world" } }, + * typeDefs: gql`type Query { hello: String }` * }); * - * Deno.serve(GraphQLHTTP({ schema, graphiql: true })); + * Deno.serve(GraphQLHTTP({ graphiql: true, schema })); * ``` */ export function GraphQLHTTP< -- cgit v1.2.3