Graphql-js: Why is GraphQLObjectType not a constructor?

Created on 4 Jul 2019  路  2Comments  路  Source: graphql/graphql-js

Is my code even valid??? Because the terminal says that GraphQLObjectType is not a constructor. What in the world just happened???

my code:
Screen Shot 2019-07-04 at 10 32 48 AM

error:
Screen Shot 2019-07-04 at 10 34 23 AM

_can anybody tell me how to solve this 鈫戔啈鈫戔啈?_

question

Most helpful comment

@boblamceo It looks like you have a typo in user_type.js? GraphQlObjectType -> GraphQLObjectType

All 2 comments

@boblamceo It looks like you have a typo in user_type.js? GraphQlObjectType -> GraphQLObjectType

Answered by @apalm 猬嗭笍
Thanks @apalm 馃憤

Was this page helpful?
0 / 5 - 0 ratings