[Discussion] Improving the GraphQL Implementation for it to be useful in real production apps

I haven’t tried it, but what about using something like Schema Wrapping?

Schema wrapping (@graphql-tools/wrap) creates a modified version of a schema that proxies, or “wraps”, the original unmodified schema. This technique is particularly useful when the original schema cannot be changed, such as with remote schemas.

Schema wrapping works by creating a new “gateway” schema that simply delegates all operations to the original subschema. A series of transforms are applied that may modify the shape of the gateway schema and all proxied operations; these operational transforms may modify an operation prior to delegation, or modify the subschema result prior to its return.