[OBSOLETE] How to filter by value in array?

My (not working) query looks like:

{
  queryRecipesContents(filter: "data/cuisines/iv/data/iv/any(x: x/iv eq 'Mexican')") {
    data {
      cuisines {
        iv {
          data {
            title {
              iv
            }
          }
        }
      }
    }
  }
}

But this results in:

{
  "data": {
    "queryRecipesContents": null
  },
  "errors": [
    {
      "message": "OData $filter clause not valid: ex.Message.",
      "locations": [
        {
          "line": 2,
          "column": 3
        }
      ]
    }
  ]
}

What am I doing wrong here? Still learning OData, and it’s very confusing, since all the error messages are the same in the GraphQL playground…

ex.Message is definitely a bug, I will have a look.

But right now the feature is not supported yet.

Ah, I see. Thank you for the reply :slight_smile:

Sorry, I am really stupid, it is already supported. If you have an array and not a reference, you can use

data/cuisines/iv/title eq 'Mexican'