You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Need some help (Schema must be an instance of GraphQLSchema. Also ensure that there are not multiple versions of GraphQL installed in your node_modules directory.)
#3
Open
mitroland opened this issue
Oct 26, 2017
· 2 comments
{
"errors": [
{
"message": "Schema must be an instance of GraphQLSchema. Also ensure that there are not multiple versions of GraphQL installed in your node_modules directory."
}
]
}
Query: {master_tenaga_budaya{nama,no_identitas}}
Log of Schema:
GraphQLSchema {
_queryType: Query,
_mutationType: Mutation,
_subscriptionType: undefined,
_directives:
[ GraphQLDirective {
name: 'include',
description: 'Directs the executor to include this field or fragment only when the `if` argument is true.',
locations: [Array],
astNode: undefined,
args: [Array] },
GraphQLDirective {
name: 'skip',
description: 'Directs the executor to skip this field or fragment when the `if` argument is true.',
locations: [Array],
astNode: undefined,
args: [Array] },
GraphQLDirective {
name: 'deprecated',
description: 'Marks an element of a GraphQL schema as no longer supported.',
locations: [Array],
astNode: undefined,
args: [Array] } ],
astNode: null,
_typeMap:
{ Query: Query,
String: String,
Node: Node,
master_lembaga: master_lembaga,
Int: Int,
Boolean: Boolean,
master_tenaga_budaya: master_tenaga_budaya,
Mutation: Mutation,
__Schema: __Schema,
__Type: __Type,
__TypeKind: __TypeKind,
__Field: __Field,
__InputValue: __InputValue,
__EnumValue: __EnumValue,
__Directive: __Directive,
__DirectiveLocation: __DirectiveLocation },
_implementations: { Node: [ master_lembaga, master_tenaga_budaya ] } }
The text was updated successfully, but these errors were encountered:
mitroland
changed the title
Need some help
Need some help (Schema must be an instance of GraphQLSchema. Also ensure that there are not multiple versions of GraphQL installed in your node_modules directory.)
Oct 26, 2017
I am trying to use the module but, the result is:
Query:
{master_tenaga_budaya{nama,no_identitas}}
Log of Schema:
Model:
Any idea?
The text was updated successfully, but these errors were encountered: