This repository has been archived by the owner on Jan 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Jan 28, 2023
1 parent
8937c28
commit 5b389c1
Showing
2 changed files
with
6 additions
and
6 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 |
---|---|---|
|
@@ -2,17 +2,15 @@ | |
|
||
[![GitHub release (latest by date)][releases]][releases-page] [![][docs-badge]][docs] | ||
|
||
> Deno port of [graphql-tools](https://github.com/ardatan/graphql-tools/blob/master/packages/graphql-tools) library. | ||
Useful tools to create and manipulate GraphQL schemas. Code is extracted from [oak_graphql](https://deno.land/x/[email protected]/graphql-tools). | ||
**DEPRECATED!** Use `https://esm.sh/@graphql-tools/schema` instead. | ||
|
||
## Example | ||
|
||
```ts | ||
import { serve } from 'https://deno.land/[email protected]/http/server.ts' | ||
import { makeExecutableSchema } from 'https://deno.land/x/graphql_tools/mod.ts' | ||
import { GraphQLHTTP } from 'https://deno.land/x/gql@1.1.2/mod.ts' | ||
import { gql } from 'https://deno.land/x/graphql_tag@0.0.1/mod.ts' | ||
import { makeExecutableSchema } from 'https://esm.sh/@graphql-tools/schema' | ||
import { GraphQLHTTP } from 'https://deno.land/x/gql@1.2.0/mod.ts' | ||
import { gql } from 'https://deno.land/x/graphql_tag@0.1.0/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 +1,3 @@ | ||
export * from './schema/index.ts' | ||
|
||
console.warn(`graphql_tools is deprecated. Use https://esm.sh/@graphql-tools/schema instead.`) |