File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ export const filterHelperArgs = (
77
77
78
78
return {
79
79
filter : {
80
- type : opts . isRequired ? itc . getTypeAsRequired ( ) : itc . getType ( ) ,
80
+ type : opts . isRequired ? itc . getTypeNonNull ( ) : itc . getType ( ) ,
81
81
description : opts . onlyIndexed ? 'Filter only by indexed fields' : 'Filter by fields' ,
82
82
} ,
83
83
} ;
Original file line number Diff line number Diff line change @@ -32,8 +32,8 @@ export function addFilterOperators(
32
32
}
33
33
34
34
itc . addFields ( {
35
- OR : [ itc . getTypeAsRequired ( ) ] ,
36
- AND : [ itc . getTypeAsRequired ( ) ] ,
35
+ OR : [ itc . getTypeNonNull ( ) ] ,
36
+ AND : [ itc . getTypeNonNull ( ) ] ,
37
37
} ) ;
38
38
}
39
39
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ export const recordHelperArgs = (
41
41
42
42
return {
43
43
record : {
44
- type : opts . isRequired ? recordITC . getTypeAsRequired ( ) : recordITC . getType ( ) ,
44
+ type : opts . isRequired ? recordITC . getTypeNonNull ( ) : recordITC . getType ( ) ,
45
45
} ,
46
46
} ;
47
47
} ;
You can’t perform that action at this time.
0 commit comments