When attempting to customize my Gatsby graphql schema via createResolvers I noticed that only a subset of the fields provided by the Mdx node type are present. More specifically, it appears that anything declared via buildObjectType with an async resolver, e.g., mdxAST is absent.
Description
When attempting to customize my Gatsby graphql schema via
createResolvers
I noticed that only a subset of the fields provided by theMdx
node type are present. More specifically, it appears that anything declared viabuildObjectType
with an async resolver, e.g.,mdxAST
is absent.Steps to reproduce
The
Mdx
node type is defined as:gatsby-node.ts
Expected result
All keys present on the node should be present.
Actual result
Environment