When using query variables that are part of an array it does not set the variables.
https://github.com/dlebee/HotChocolateIssue/
query blah($message1:String, $message2: String)
{
contact(criteria: {
messages: [
{
message:$message1
},
{
message: $message2
}
]
})
}
the variables
{
"message1": "hello",
"message2": "world"
}
Received Value
{
"data": {
"contact": [
null,
null
]
}
}
Expected value
{
"data": {
"contact": [
"hello",
"world"
]
}
}
It happens in both 10.2.0 and 11.0.0 preview latest.
@PascalSenn can you write a test for this so we can check out what is wrong?
@dlebee Awesome just saw the linked repo :D thanks for this repro! We will work on this one tonight.
@PascalSenn this one has nothing todo with filters... my fault ;)
@michaelstaib only normal :)
This one is now fixed
@michaelstaib thank you :)