@MichelDiz unfortunately this does not work since I do not know the array elements of Check.test beforehand. Thus I have to use a query rule with @filter. The only thing I could do would be
{ rule: """queryCheck(filter: { test: { in: $arr } }) { id }""" }
and this would result in true even if only one of the elements in arr matches what is in test.
-
arr = ["one", "two", "three"];test = ["one", "three"]→ results intrue
-
arr = ["one", "two"];test = ["one", "three"]→ results intrue