Create a flat Firestore collection with the following fields:
userID (string field)
itemID (number field)
When I filter by userID (string field) and the condition type is “equal” the results are as expected.
When I filter by itemID (number field) and the condition type is “equal”, “Get Record Collection” fails with the following error:
“TypeError: n.toLowerCase is not a function”.
The error is returned even if the number in the filter is static instead of using a dynamic variable
The strange thing is, if I change the condition type to anything other than “equal”, “greater” for example, the query works as expected.