Apologies - this is my first foray into Next so I'm probably making a complete blunder.
I followed your video example and all was well until integrating the Neo4J graphql. Everything compiles etc but when I try getting the schema from Postman/BananaCakePop I get a server 500 error and the following trace in my terminal window:
error - Error: Apollo Server requires either an existing schema, modules or typeDefs
I can't see where I'm going wrong as my graphql.js appears identical to your own apart from a simple 'UserEntity' typedef rather than the article, tag and user types you define.
Any help gratefully received as I'm stumped right now.
Cheers!
Luckily, the Neo4J chaps over on Discord pointed me in the right direction to some recent changes for async: neo4j.com/docs/graphql-manual/curr...
Hope this helps someone.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Apologies - this is my first foray into Next so I'm probably making a complete blunder.
I followed your video example and all was well until integrating the Neo4J graphql. Everything compiles etc but when I try getting the schema from Postman/BananaCakePop I get a server 500 error and the following trace in my terminal window:
error - Error: Apollo Server requires either an existing schema, modules or typeDefs
I can't see where I'm going wrong as my graphql.js appears identical to your own apart from a simple 'UserEntity' typedef rather than the article, tag and user types you define.
Any help gratefully received as I'm stumped right now.
Cheers!
Luckily, the Neo4J chaps over on Discord pointed me in the right direction to some recent changes for async:
neo4j.com/docs/graphql-manual/curr...
Hope this helps someone.