Open joaovpmamede opened 4 years ago
+1!
Super super worried XD!!! The schemas were totally empty. I isolated it to the same issue, and tried modifying prime to use apollo's gateway, when I found your fix, and downgrading did it!
still facing this issue from time to time, is there a fix for it? or any updates?
This eventually got fixed (temporarily) by downgrading all apollo-server-core
versions to 2.6
. For which I used package resolutions.
This change also seems to come from a refactor that is done inside the apollo server itself, thus not being an implementation issue of primecms. The only issue I'd say is here, is that prime packages aren't updated for a long time, which is eventually leading to incompatibility issues for newcomers.
I had issues running master with a project that was built with the latest npm released version (
v0.3.4-beta.1
). After a couple of tests I've decided to downgrade theapollo-server-express
from 2.8.1 to 2.6.2 and everything started working again.From my understanding the issue could be here. I'm not sure but I don't think that this new version allows to set the schema after the instance has been created (new schema initialization/creation).
Two options would be to:
apollo-gateway
(not sure if it makes sense here tbh) because it seems that allows to update theschema
.