public void BuildSchemas() { var rootTypes = _assemblyResolver.GetRootTypes(); foreach (var rootType in rootTypes) { var mutationTypes = _assemblyResolver.GetMutationTypes(rootType); var subscriptionTypes = _assemblyResolver.GetSubscriptionTypes(rootType); var schema = new DynamicSchema(_graphQlTypePool, rootType, mutationTypes, subscriptionTypes, _intializers); _rootTypeSchema.Add(rootType, schema); } }