Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Account.get() does not work when multiple filters are provided with same key - Closes #2822 #2836
What was the problem?
The parseFilter function defined in BaseEntity class were not able to handle filters as input when it's an array with the same property name.
How did I fix it?
Fixed the bug by refactoring the code.
How to test it?
Run unit tests.
nazarhussain left a comment
Logically that's not an issue actually because the use case can implemented with
Both have the same effect. I suggest to use to first approach and implement your logic on your end.
But if there is a real necessary and first approach is not possible at all, then you can use the second.