We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2252f6d commit 2e77635Copy full SHA for 2e77635
graphql/src/store/query.rs
@@ -417,6 +417,9 @@ fn build_child_filter_from_object(
417
fn list_values(value: Value, filter_type: &str) -> Result<Vec<Value>, QueryExecutionError> {
418
match value {
419
Value::List(values) => {
420
+ if values.is_empty() {
421
+ return Ok(values);
422
+ }
423
// Check that all values in list are of the same type
424
let root_discriminant = discriminant(&values[0]);
425
for value in &values {
0 commit comments