-
-
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.
remove
target=deno
causing dep conflicts and bump examples
- Loading branch information
v1rtl
committed
Apr 21, 2023
1 parent
025e3ac
commit ea6a27e
Showing
6 changed files
with
300 additions
and
686 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export { graphql } from 'https://esm.sh/[email protected]/graphql?target=deno#=' | ||
export type { GraphQLArgs } from 'https://esm.sh/[email protected]/graphql?target=deno#=' | ||
export type { ExecutionResult } from 'https://esm.sh/[email protected]/execution/execute?target=deno#=' | ||
export type { GraphQLSchema } from 'https://esm.sh/[email protected]/type/schema?target=deno#=' | ||
export type { ExecutionResult } from 'https://esm.sh/[email protected]/execution/execute?#=' | ||
export { graphql } from 'https://esm.sh/[email protected]/graphql?#=' | ||
export type { GraphQLArgs } from 'https://esm.sh/[email protected]/graphql?#=' | ||
export type { GraphQLSchema } from 'https://esm.sh/[email protected]/type/schema?#=' |
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,9 +2,9 @@ import { | |
Application, | ||
Middleware, | ||
Router, | ||
} from 'https://deno.land/x/oak@v12.1.0/mod.ts' | ||
} from 'https://deno.land/x/oak@v12.2.0/mod.ts' | ||
import { GraphQLHTTP } from '../mod.ts' | ||
import { makeExecutableSchema } from 'https://esm.sh/@graphql-tools/[email protected].17' | ||
import { makeExecutableSchema } from 'https://esm.sh/@graphql-tools/[email protected].18' | ||
import { gql } from 'https://deno.land/x/[email protected]/mod.ts' | ||
|
||
const typeDefs = gql` | ||
|
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,8 +1,8 @@ | ||
import { opine, OpineRequest } from 'https://deno.land/x/[email protected].3/mod.ts' | ||
import { opine, OpineRequest } from 'https://deno.land/x/[email protected].4/mod.ts' | ||
import { GraphQLHTTP } from '../mod.ts' | ||
import { makeExecutableSchema } from 'https://esm.sh/@graphql-tools/[email protected]?target=deno' | ||
import { gql } from 'https://deno.land/x/[email protected]/mod.ts' | ||
import { readAll } from 'https://deno.land/std@0.182.0/streams/read_all.ts' | ||
import { readAll } from 'https://deno.land/std@0.184.0/streams/read_all.ts' | ||
import type { GraphQLParams } from '../types.ts' | ||
|
||
type Request = OpineRequest & { json: () => Promise<GraphQLParams> } | ||
|
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,4 +1,4 @@ | ||
import { serve } from 'https://deno.land/std@0.182.0/http/server.ts' | ||
import { serve } from 'https://deno.land/std@0.184.0/http/server.ts' | ||
import { GraphQLHTTP } from '../mod.ts' | ||
import { makeExecutableSchema } from 'https://esm.sh/@graphql-tools/[email protected]?target=deno' | ||
import { gql } from 'https://deno.land/x/[email protected]/mod.ts' | ||
|
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,14 +1,14 @@ | ||
import { superdeno } from 'https://deno.land/x/[email protected]/mod.ts?target=deno#=' | ||
import { GraphQLHTTP } from './http.ts' | ||
import { runHttpQuery } from './common.ts' | ||
import { buildSchema } from 'https://esm.sh/[email protected]/utilities?target=deno#=' | ||
import type { GraphQLResolveInfo } from 'https://esm.sh/[email protected]/type?target=deno#=' | ||
import { | ||
describe, | ||
expect, | ||
it, | ||
run, | ||
} from 'https://deno.land/x/[email protected]/mod.ts' | ||
import type { GraphQLResolveInfo } from 'https://esm.sh/[email protected]/type?#=' | ||
import { buildSchema } from 'https://esm.sh/[email protected]/utilities?#=' | ||
import { runHttpQuery } from './common.ts' | ||
import { GraphQLHTTP } from './http.ts' | ||
|
||
const schema = buildSchema(` | ||
type Query { | ||
|