Hi @technology,
To be clear, Gatsby consolidates one or more external endpoints and puts it into its own data layer, using its own syntax and schema. Thatâs why the queries are different. In your particular case, something is wrong in that data layerâs translation process, but I cannot say what without seeing the code.
Iâm not super familiar with Gatsby, but if you are able to share the repo with me, I can take a look and try to see if itâs an easy fixâŚ? (You can share it with me on Github as r.tuan@datocms.com, or just send the files/snippets via email or PM here.)
Well, itâs not a straightforward answerâŚ
If Gatsby and the old plugin are otherwise working for you, and you donât expect many other ongoing changes, itâs probably easier for us to just troubleshoot this particular issue together to limit the âblast radiusâ and the amount of work needed.
If this is a project youâre just starting to build out, or in the middle of overhauling or maintaining⌠well⌠then it gets a bit more complicated 
Our official stance is that we donât really know what is happening with Gatsby, so weâre taking a wait-and-see approach. After Netlify acquired it, feature development seems to have stalled, and we are similarly pausing development work on it. That old plugin is not hard-deprecated, but it is in a maintenance mode now, and we will only provide critical updates going forward. We do know that some of our customers are still using it, so weâll try it at least keep it minimally working as long as weâre able to, but nothing beyond that.
My personal and unofficial opinion as a peer web dev â not DatoCMSâs â is that Gatsby seems to be quite dead, and I would consider it tech debt at this point. Itâs probably not worth migrating out an otherwise working and feature-frozen project, but for any work-in-progress or new project, I would personally steer away from Gatsby at this point. There are many modern and widely supported other frameworks (Astro, Next, etc.). Nobody likes the churn in the JS world, but in the particular case of Gatsby, itâs doubly bad because the data layer rewrites and abstracts what would otherwise be trivial API calls. Its intention as a federation and consolidation layer was understandably appealing at first, but the reality of it has turned out to be highly difficult to maintain through time, because every external API change essentially requires twice the work: one time to fix the data going into Gatsby, and another to fix the data coming back out of Gatsby.
Using gatsby-source-graphql (or just raw HTTP calls you make with a basic fetch) would at least help with that part of the issue, but not with the overall state of Gatsbyâs seeming abandonment.
So itâs ultimately up to your team and client to see what makes sense⌠if this is an infrequently updated project anyway, letâs just try and fix this particular issue to make it work again. If itâs a big, ongoing part of the work you do, maybe itâs worth a cost-benefit analysis to balance keeping the existing code vs the cost of a small rewrite (to use more vanilla GraphQL) or a major rewrite (into a different framework)?