I am trying to use "$in" to search for elements in array, but I noticed the schema is searching by position in the array and only match the first parameter
I think the problem is the filter is trying to set a absolute match of array position ('tags.0' , 'tags.1' .... 'tags.X' ) it is possible to change that behavior configuring something in scheme or somewhere else?
I am trying to use "$in" to search for elements in array, but I noticed the schema is searching by position in the array and only match the first parameter
turning up the debug flag on mongoose:
This is the gql query:
And the Console print this
I think the problem is the filter is trying to set a absolute match of array position ('tags.0' , 'tags.1' .... 'tags.X' ) it is possible to change that behavior configuring something in scheme or somewhere else?
This is the code for each file: