@@ -23,7 +23,7 @@ class Neo4jTemporalConverter(name: String) : Neo4jSimpleConverter(name) {
2323 return Cypher .call(" toString" ).withArgs(variable.property(field.name)).asFunction()
2424 }
2525
26- override fun createCondition (property : Property , parameter : Parameter <Any >, conditionCreator : (Expression , Expression ) -> Condition ): Condition {
26+ override fun createCondition (property : Property , parameter : Parameter <* >, conditionCreator : (Expression , Expression ) -> Condition ): Condition {
2727 return conditionCreator(property, toExpression(parameter))
2828 }
2929}
@@ -33,7 +33,7 @@ class Neo4jTimeConverter(name: String) : Neo4jConverter(name) {
3333 override fun createCondition (
3434 objectField : ObjectField ,
3535 field : GraphQLFieldDefinition ,
36- parameter : Parameter <Any >,
36+ parameter : Parameter <* >,
3737 conditionCreator : (Expression , Expression ) -> Condition ,
3838 propertyContainer : PropertyContainer
3939 ): Condition = if (objectField.name == NEO4j_FORMATTED_PROPERTY_KEY ) {
@@ -65,7 +65,7 @@ class Neo4jTimeConverter(name: String) : Neo4jConverter(name) {
6565
6666class Neo4jPointConverter (name : String ) : Neo4jConverter(name) {
6767
68- fun createDistanceCondition (lhs : Expression , rhs : Parameter <Any >, conditionCreator : (Expression , Expression ) -> Condition ): Condition {
68+ fun createDistanceCondition (lhs : Expression , rhs : Parameter <* >, conditionCreator : (Expression , Expression ) -> Condition ): Condition {
6969 val point = Functions .point(rhs.property(" point" ))
7070 val distance = rhs.property(" distance" )
7171 return conditionCreator(Functions .distance(lhs, point), distance)
@@ -86,14 +86,14 @@ open class Neo4jSimpleConverter(val name: String) {
8686
8787 open fun createCondition (
8888 property : Property ,
89- parameter : Parameter <Any >,
89+ parameter : Parameter <* >,
9090 conditionCreator : (Expression , Expression ) -> Condition
9191 ): Condition = conditionCreator(property, parameter)
9292
9393 open fun createCondition (
9494 objectField : ObjectField ,
9595 field : GraphQLFieldDefinition ,
96- parameter : Parameter <Any >,
96+ parameter : Parameter <* >,
9797 conditionCreator : (Expression , Expression ) -> Condition ,
9898 propertyContainer : PropertyContainer
9999 ): Condition = createCondition(propertyContainer.property(field.name, objectField.name), parameter, conditionCreator)
0 commit comments