-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
v1rtl
committed
Mar 15, 2023
1 parent
740d7f6
commit 99ff768
Showing
4 changed files
with
19 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,10 @@ import { | |
Application, | ||
Middleware, | ||
Router, | ||
} from 'https://deno.land/x/oak@v11.1.0/mod.ts' | ||
} from 'https://deno.land/x/oak@v12.1.0/mod.ts' | ||
import { GraphQLHTTP } from '../mod.ts' | ||
import { makeExecutableSchema } from 'https://esm.sh/@graphql-tools/[email protected].16' | ||
import { gql } from 'https://deno.land/x/[email protected].0/mod.ts' | ||
import { makeExecutableSchema } from 'https://esm.sh/@graphql-tools/[email protected].17' | ||
import { gql } from 'https://deno.land/x/[email protected].1/mod.ts' | ||
|
||
const typeDefs = gql` | ||
type Query { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
import { opine, OpineRequest } from 'https://deno.land/x/[email protected]/mod.ts' | ||
import { GraphQLHTTP } from '../mod.ts' | ||
import { makeExecutableSchema } from 'https://esm.sh/@graphql-tools/[email protected]' | ||
import { gql } from 'https://deno.land/x/[email protected]/mod.ts' | ||
import { readAll } from 'https://deno.land/[email protected]/streams/read_all.ts' | ||
import { makeExecutableSchema } from 'https://esm.sh/@graphql-tools/[email protected]' | ||
import { gql } from 'https://deno.land/x/[email protected]/mod.ts' | ||
import { readAll } from 'https://deno.land/[email protected]/streams/read_all.ts' | ||
import type { GraphQLParams } from '../types.ts' | ||
|
||
type Request = OpineRequest & { json: () => Promise<any> } | ||
type Request = OpineRequest & { json: () => Promise<GraphQLParams> } | ||
|
||
const typeDefs = gql` | ||
type Query { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { Server } from 'https://deno.land/std@0.177.0/http/server.ts' | ||
import { Server } from 'https://deno.land/std@0.179.0/http/server.ts' | ||
import { GraphQLHTTP } from '../mod.ts' | ||
import { makeExecutableSchema } from 'https://esm.sh/@graphql-tools/[email protected].16' | ||
import { gql } from 'https://deno.land/x/[email protected].0/mod.ts' | ||
import { makeExecutableSchema } from 'https://esm.sh/@graphql-tools/[email protected].17' | ||
import { gql } from 'https://deno.land/x/[email protected].1/mod.ts' | ||
|
||
const typeDefs = gql` | ||
type Query { | ||
|