Closed simon28082 closed 4 years ago
I don't think this is something we'd be willing to merge due to the fact it modifies the values passed to the filter. I'd like to stay away from modifying any values and ensure those values are passed to filter methods as is, so developers can decide how they'd like to handle their own logic in their filter's methods.
Well, I'm going to close this PR
Sometimes, we pass in an array, but there may be some null values in the array, which are often passed in by some request parameters, such as:
if the start and end time in
times
are all empty, we hope the program will automatically Filter out, useless empty array