Defining 2 conflicting @Field decorator options should log a warning.
i.e @Field({ type: FilterResponse, isList: true, pagination: true, description: 'something' })
If isList: true is being mistakenly used with pagination: true, it returns null values for this @Field, and a warning would ease debugging. Also, more detailed comments, mentioning this conflict in the FieldOption Interface would help avoid this mistake.
Defining 2 conflicting
@Fielddecorator options should log a warning.i.e
@Field({ type: FilterResponse, isList: true, pagination: true, description: 'something' })If
isList: trueis being mistakenly used withpagination: true, it returns null values for this@Field, and a warning would ease debugging. Also, more detailed comments, mentioning this conflict in theFieldOptionInterface would help avoid this mistake.Warning
Instructional comments