Closed gao-artur closed 1 year ago
Consider the following schema:
type Query { objectWithNestedListsField: ObjectWithNestedListsField! } type ObjectWithNestedListsField { nestedListOfComplexObjects: [[AnotherComplexObject]!]! } type AnotherComplexObject { justAString: String }
Before the fix, it was generating a wrong method without complex object builder
public ObjectWithNestedListsFieldQueryBuilder WithNestedListOfComplexObjects(string alias = null, IncludeDirective include = null, SkipDirective skip = null) { return WithScalarField("nestedListOfComplexObjects", alias, new GraphQlDirective[] { include, skip }); }
After the fix
public ObjectWithNestedListsFieldQueryBuilder WithNestedListOfComplexObjects(AnotherComplexQueryBuilder anotherComplexQueryBuilder, string alias = null, IncludeDirective include = null, SkipDirective skip = null) { return WithObjectField("nestedListOfComplexObjects", alias, anotherComplexQueryBuilder, new GraphQlDirective[] { include, skip }); }
Consider the following schema:
Before the fix, it was generating a wrong method without complex object builder
After the fix