How to "encapsulate" or add a named scope around postgraphile queries?
<!-- You can also chat with us on Discord: http://discord.gg/graphile -->

I am trying to create a graphQL "api gateway" where I'm combining all of my data sources into one graph API.

Everything else works just fine but postgraphile is causing some headaches and many hours wasted on this 1 error.

I want my graphQL api to be queried something like this:

```
// GOOD ✅
query {
  restApi1 { ... }
  restApi2 { ... }
  cubejsApi { ... }
  postgraphile { ... }
}
```

I want to avoid this mess where my hundreds of postgraphile queries are mixed between my other nicely scoped queries:

```
// BAD 👎
query {
  allTableRows1 
  ...
  restApi1 { ... }
  allTableRows27 { ... }
  ...
  restApi2 { ... }
  ...
  allTableRows98 { ... }
  ...
  cubejsApi { ... }
  allTableRows102 { ... }
  allTableRows102 { ... }
}
```

Where each data source is encapsulated with a namespace. As it would be incredibly frustrating to have random types and resolvers from different APIs and all of my postgres tables ALL in the root level query... That would be an unmaintainable mess.

So far I've been trying to accomplish this with the use of graphql-mesh: https://www.graphql-mesh.com, and I am able to encapsulate all of my other data sources without any issues. Postgraphile is the only one causing the following error:

```
{
  "data": null,
  "errors": [
    {
      "message": "Interface field Node.nodeId expected but Query does not provide it."
    }
  ]
}
```

Obviously Node.nodeId is something postgraphile is generating and expecting?

I'm assuming this is because the graphQL mesh "encapsulate transformation" isn't getting everything 100% correct... So instead of using graphql-mesh to encapsulate it.

How can I encapsulate it with "vanilla" postgraphile?

I don't see any plugins or any settings that lets you namespace the root level query? Is this really not supported in postgraphile?

In my frustration with this, I tried switching to Prisma, and with Prisma I was able to namespace it without any issues. But it is my understanding that postgraphile has a significantly better performance than Prisma, and Prisma is not directly supported in graphql-mesh like postgraphile is so I'd like to use postgraphile of course.

Any help would be appreciated.