graphql-community / graphql-community/graphql-directive-auth

default example with makeExecutableSchema error and graphql-tools

Open
#52 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
135
Forks
12
PR merge metrics
No merged PRs in 30d

Description

I tested with nodejs first example and I got this error:
```
const schema = makeExecutableSchema({
^

ReferenceError: makeExecutableSchema is not defined
```
I think is not working because this issue from _graphql-tools_ to https://github.com/ardatan/graphql-tools/issues/136 is closed but is regarding to apollo server ...
After I add it
`import { makeExecutableSchema } from 'graphql-tools';`
I got this error:
_This package has been deprecated and now it only exports makeExecutableSchema.
And it will no longer receive updates.
We recommend you to migrate to scoped packages such as @graphql-tools/schema, @graphql-tools/utils and etc.
Check out https://www.graphql-tools.com to learn what package you should use instead!
This package has been deprecated and now it only exports makeExecutableSchema.
And it will no longer receive updates.
We recommend you to migrate to scoped packages such as @graphql-tools/schema, @graphql-tools/utils and etc.
Check out https://www.graphql-tools.com to learn what package you should use instead!
file:///E:/testgithubgraphql/start_graphql-directive-auth_example_001.js:10
typeDefs,
^

ReferenceError: typeDefs is not defined_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.