Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
fix(gatsby): Make root plural fields non nullable #15321
Change the setup of both the internal schema and the
This helps to reduce tedious null-checks when querying via
With this change, TypeScript users will have a much better time:
I am having a hard time figuring out why the tests are failing.
It seems like the queries to the schema are set up in a way such that the data is not actually returned from the registered resolver, which is why the tests are failing when trying to query such a field:
How can we fix this?