public void AddGraphTypeFields(QueryCore queryCore) { foreach (var item in _fieldRecordRegistrations) { item.AddGraphTypeFields(queryCore); } }
public SchemaCore(QueryCore query, MutationCore mutation, SubscriptionCore subscription, IDependencyResolver resolver) { if (query.RegistrationCount > 0) { Query = query; } if (mutation.RegistrationCount > 0) { Mutation = mutation; } if (subscription.RegistrationCount > 0) { Subscription = subscription; } DependencyResolver = resolver; }