private static IGraphQlResolvable CreateContract(Type contractType, IGraphQlServiceProvider serviceProvider) { var contract = serviceProvider.GetResolverContract(contractType); return(contract); }
public IntrospectionQuery(IGraphQlServiceProvider servicesProvider) { this.originalQuery = (TQuery)servicesProvider.GetResolverContract(typeof(TQuery)); this.typeListing = servicesProvider.GetTypeListing(); this.introspectionTypeListing = new Interfaces.Introspection.TypeListing(); }