What is the best way to extend GraphQL Schema for markdownRemark frontmatter and site siteMetadata?
Gatsby adds fields to schema automatically, based on the data source. But in our case fields may be or may not be in data. And we use those fields in graphql queries.
Currently I use some workaround like This:


Gatsby version: latest
Gatsby failed because of field of query is not in schema
Fields are added via gatsby api even if thay are absent in data
...
Hi, this is unfortunately known issue that I'm working to resolve - you can check discussion here - https://github.com/gatsbyjs/gatsby/issues/3344
Due to the high volume of issues, we're closing out older ones without recent activity. Please open a new issue if you need help!