@@ -1106,18 +1106,18 @@ export const PgConnectionArgFilterOperatorsPlugin: GraphileConfig.Plugin = {
11061106 } = arrayLike
11071107 ? connectionFilterArrayOperators
11081108 : rangeLike
1109- ? connectionFilterRangeOperators
1110- : enumLike
1111- ? connectionFilterEnumOperators
1112- : {
1113- ...standardOperators ,
1114- ...( sortable ? sortOperators : null ) ,
1115- ...( inetLike ? inetOperators : null ) ,
1116- ...( jsonLike ? jsonbOperators : null ) ,
1117- ...( hstoreLike ? hstoreOperators : null ) ,
1118- ...( textLike ? patternMatchingOperators : null ) ,
1119- ...( textLike ? insensitiveOperators : null ) ,
1120- } ;
1109+ ? connectionFilterRangeOperators
1110+ : enumLike
1111+ ? connectionFilterEnumOperators
1112+ : {
1113+ ...standardOperators ,
1114+ ...( sortable ? sortOperators : null ) ,
1115+ ...( inetLike ? inetOperators : null ) ,
1116+ ...( jsonLike ? jsonbOperators : null ) ,
1117+ ...( hstoreLike ? hstoreOperators : null ) ,
1118+ ...( textLike ? patternMatchingOperators : null ) ,
1119+ ...( textLike ? insensitiveOperators : null ) ,
1120+ } ;
11211121
11221122 const operatorFields = Object . entries ( operatorSpecs ) . reduce (
11231123 ( memo : { [ fieldName : string ] : any } , [ name , spec ] ) => {
@@ -1292,8 +1292,8 @@ export function makeApplyFromOperatorSpec(
12921292 ? attribute . expression ( $where . alias )
12931293 : sql `${ $where . alias } .${ sql . identifier ( attributeName ) } `
12941294 : expression
1295- ? expression
1296- : $where . alias ;
1295+ ? expression
1296+ : $where . alias ;
12971297 const sourceCodec = codec ?? attribute . codec ;
12981298
12991299 const [ sqlIdentifier , identifierCodec ] = resolveSqlIdentifier
@@ -1322,7 +1322,7 @@ export function makeApplyFromOperatorSpec(
13221322 const resolvedInput = resolveInput ? resolveInput ( value ) : value ;
13231323 const inputCodec = resolveInputCodec
13241324 ? resolveInputCodec ( codec ?? attribute . codec )
1325- : codec ?? attribute . codec ;
1325+ : ( codec ?? attribute . codec ) ;
13261326
13271327 const sqlValue = resolveSqlValue
13281328 ? resolveSqlValue ( $where , value , inputCodec )
0 commit comments