realm / realm-graphql-service

GraphQL service for Realm Object Server
https://realm.io
Apache License 2.0
43 stars 10 forks source link

Upgrading to the latest ROS #54

Closed howdyhyber closed 6 years ago

howdyhyber commented 6 years ago

I updated my ROS today and this is what happened.

Detected an unhandled promise rejection at: Promise { 0|npm | TypeError: next is not a function 0|npm | at /home/ubuntu/xeleqt-realm-object-server/node_modules/apollo-server-express/dist/expressApollo.js:25:24 0|npm | at } , reason: TypeError: next is not a function 0|npm | at /home/ubuntu/xeleqt-realm-object-server/node_modules/apollo-server-express/dist/expressApollo.js:25:24 0|npm | at

I cant query in GraphQL. It keeps on logging the same error everything i try to access GraphQL explore . These are the version of the packages i used: realm-graphql-service : 2.5.0 realm-object-server : 3.6.6

nirinchev commented 6 years ago

I imagine this has happened because ROS couldn't boot up properly. What are the logs when ROS starts?

howdyhyber commented 6 years ago

i think the one causing it is the updated version of realm-graphql-service, because when i downgraded the realm-graphql-service to 2.4.0, it works perfectly fine. I will try to comment the previous log, ill try to find it.

nirinchev commented 6 years ago

Okay, I've found the problem - it's related to types starting with underscores. We'll fix it and release a new version shortly. In the meantime, you can downgrade to 2.4.0.