docs: private Set<GraphQLType> buildAdditionalTypes(BuildContext buildCtx) {
          Set<GraphQLType> additionalTypes = new LinkedHashSet<>();
          TypeDefinitionRegistry typeRegistry = buildCtx.getTypeRegistry();
          typeRegistry.types().values().forEach(typeDefinition -> {
              TypeName typeName = TypeName.newTypeName().name(typeDefinition.getName()).build();
              if (typeDefinition instanceof InputObjectTypeDefinition) {
                  if (buildCtx.hasInputType(typeDefinition) == null) {
                      additionalTypes.add(buildInputType(buildCtx, typeName));
                  }
              } else {
                  if (buildCtx.hasOutputType(typeDefinition) == null) {
                      additionalTypes.add(buildOutputType(buildCtx, typeName));
                  }
              }
          });
          return additionalTypes;
      }