Skip to main content

HotChocolate Schema stitching - Remove root types

When using (HotChocolate) Schema stitching by default all root query types are merged and available to use in your stitched schema:

This is great as default behavior but not if you want to build up the stitched schema in a different way. To start from a clean slate you can call IgnoreRootTypes():