@@ -74,7 +74,7 @@ class OptimizedFilterHandler(val type: GraphQLFieldsContainer, schemaConfig: Sch
7474 private val matchQueryWithoutWhere : OngoingReading ,
7575 private val type : GraphQLFieldsContainer ,
7676 private val value : Map <* , * >,
77- private val parentPassThroughWiths : Collection <Expression >,
77+ private val parentPassThroughWiths : Collection <IdentifiableElement >,
7878 private val variables : Map <String , Any >
7979 ) {
8080
@@ -156,7 +156,7 @@ class OptimizedFilterHandler(val type: GraphQLFieldsContainer, schemaConfig: Sch
156156 private fun handleQuantifierPredicates (
157157 query : OrderableOngoingReadingAndWithWithoutWhere ,
158158 relFilter : RelationPredicate ,
159- levelPassThroughWiths : LinkedHashSet <Expression >
159+ levelPassThroughWiths : LinkedHashSet <IdentifiableElement >
160160 ): OrderableOngoingReadingAndWithWithoutWhere {
161161 val objectField = relFilter.value
162162 val nestedParsedQuery = parseFilter(objectField as Map <* , * >, relFilter.fieldDefinition.type.getInnerFieldsContainer())
@@ -227,7 +227,7 @@ class OptimizedFilterHandler(val type: GraphQLFieldsContainer, schemaConfig: Sch
227227 private fun createAdditionalConditions (
228228 query : ParsedQuery ,
229229 relVariable : Node ,
230- passThroughWiths : LinkedHashSet <Expression >,
230+ passThroughWiths : LinkedHashSet <IdentifiableElement >,
231231 filter : List <Pair <SymbolicName , AliasedExpression >>,
232232 whereClauseFactory : WhereClauseFactory
233233 ): ConditionBuilder {
@@ -249,7 +249,7 @@ class OptimizedFilterHandler(val type: GraphQLFieldsContainer, schemaConfig: Sch
249249
250250 private fun withClauseWithOptionalDistinct (
251251 exposesWith : ExposesWith ,
252- withs : Collection <Expression >,
252+ withs : Collection <IdentifiableElement >,
253253 useDistinct : Boolean = true) = when {
254254 useDistinct && withs.size == 1 -> exposesWith.withDistinct(* withs.toTypedArray())
255255 else -> exposesWith.with (* withs.toTypedArray())
0 commit comments