Deeply nested objects in query are considered equal when they are not really equal #1421
Description
Version
2.5.3
Reproduction link
https://jsfiddle.net/awei01/5v9nqe7o/
Steps to reproduce
Open the JS fiddle.
Open console logger
Click the link, notice that the query is updated and console logs "route completed"
Click link again. Notice the query is not updated and console logs "route aborted"
What is expected?
The route should change because the query object has changed.
What is actually happening?
The route inspector should see that these objects are not equal. The implementation of "isEqualObject" doesn't take into account deeply nested objects.
see these lines:
Lines 76 to 83 in 2f97b19
I'm using my own custom implementation of parseQuery and stringifyQuery for the Router object so, I'd like to be able to allow the route to continue. Specifically I'm using 'urlon' npm package which can handle nested objects in the querystring.