Upgrading mesh related packages unable to query as resolvers are missing #7044
Unanswered
sapiens-shahbaz-khan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
Its related to work project where we have the BFF where we use the graphql mesh to merge APIs, transform attributes, etc.
Currently mesh related packages are outdated and needed to be updated. I tried upgrading it which are supported in node v16 LTS. However, the resolvers that we had in the config file are somehow not found. And the context that we receive in the resolve function in resolvers has these sources undefined when I try debugging it once we query from playground.
I wonder if its something related to path or anything more I need to do in the config.
To be upgraded with :
the JSON config file has transform and rewrites along with additionalTypeDefs and additionalResolvers.
It is currently working with
"graphql": "^16.6.0",
Node 16 LTS.
Since its private code, I can't share. But if anyone can give me some hint to look for, that might cause issue with upgrade.
Beta Was this translation helpful? Give feedback.
All reactions