Skip to content
This repository has been archived by the owner on Jan 28, 2023. It is now read-only.

Commit

Permalink
deprecate
Browse files Browse the repository at this point in the history
  • Loading branch information
v1rtl committed Jan 28, 2023
1 parent 8937c28 commit 5b389c1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 2 additions & 0 deletions mod.ts
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.`)

0 comments on commit 5b389c1

Please sign in to comment.