in src/Epam.GraphQL/Configuration/Implementations/Fields/ChildFields/RootGroupConnectionQueryableField.cs [32:73]
public RootGroupConnectionQueryableField(
IChainConfigurationContext configurationContext,
BaseObjectGraphTypeConfigurator<object, TExecutionContext> parent,
string name,
IRootQueryableResolver<TReturnType, TExecutionContext> resolver,
IGraphTypeDescriptor<TReturnType, TExecutionContext> elementGraphType,
IObjectGraphTypeConfigurator<TReturnType, TExecutionContext>? configurator,
LazyQueryArguments? arguments,
ISearcher<TReturnType, TExecutionContext>? searcher,
IEnumerable<(LambdaExpression SortExpression, SortDirection SortDirection)> naturalSorters)
: base(
configurationContext,
parent,
name,
resolver,
elementGraphType,
configurator,
arguments,
searcher,
naturalSorters)
{
_graphType = new GraphTypeDescriptor<TReturnType, TExecutionContext>(
type: typeof(GroupConnectionGraphType<TReturnType, TExecutionContext>),
graphTypeFactory: () => new GroupConnectionGraphType<TReturnType, TExecutionContext>(elementGraphType),
configurator);
Argument<string>(
"after",
"Only look at connected edges with cursors greater than the value of `after`.");
Argument<int?>(
"first",
"Specifies the number of edges to return starting from `after` or the first entry if `after` is not specified.");
Argument<string>(
"before",
"Only look at connected edges with cursors smaller than the value of `before`.");
Argument<int?>(
"last",
"Specifies the number of edges to return counting reversely from `before`, or the last entry if `before` is not specified.");
}