The class Query<T> contains a method copy() that seems to want to create a deep clone of the query instance, but it doesn't deep clone the filters from within.
That will cause that when copying a query and then changing the filters of the original one, the filters from the copied one will also be changed, resulting in potential unwanted behaviors.
The class
Query<T>
contains a methodcopy()
that seems to want to create a deep clone of the query instance, but it doesn't deep clone the filters from within.That will cause that when copying a query and then changing the filters of the original one, the filters from the copied one will also be changed, resulting in potential unwanted behaviors.