Noticed we are mutating the query directly in some builder methods like slice & order. This can cause some irregular behavior depending on usage. Highlighted in this arcade example
We should update all methods to return a new instance of the class with the updated query vs mutating the internal query directly.
Noticed we are mutating the query directly in some builder methods like
slice
&order
. This can cause some irregular behavior depending on usage. Highlighted in this arcade exampleWe should update all methods to return a new instance of the class with the updated query vs mutating the internal query directly.