You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* or filters interface
* implementation of new filter
* Remove duplicate code
* Parse with type guard
* Remove the newFilter variable
* Add filter and enable chaining
* test add filter
* Add another unit test
* Add system-test stubs
* Add system-tests for the OR filter
* Move things around
* Added a unit test
* Add a unit test for OR filters
* Just use filter method
* new warning test
* Revert "new warning test"
This reverts commit 37400a6.
* Now removes deprecation warning properly
* Add a test for new warning
* Add setAncestor
Adds a new setAncestor method for ensuring only one ancestor is set for the query at a time. This will avoid errors that result because of setting multiple ancestors. Also deprecate hasAncestor because it will lead to warnings like this. Add parser logic to use the value provided in setAncestor for query sent to backend.
* Basic unit tests for setAncestor
Added tests for the query proto, one to make sure the query structure is right when setting ancestor once and one to make sure the query structure is right when setting ancestor twice. Also added a unit test to make sure that ancestor is set the right way internally when using setAncestor.
* change expected result for OR query
This code change adjusts the expected result for running an OR query. Old result used to correspond with AND, but now corresponds to OR.
* Fix a test by not requiring the done callback
A test is timing out because we are waiting for done to be called. This fix does not require done to be called.
* Revert "Fix a test by not requiring the done callback"
This reverts commit 1159b37.
* Revert "Basic unit tests for setAncestor"
This reverts commit 86841d6.
* Revert "Add setAncestor"
This reverts commit e84582f.
* Separate filters and new filters internally
This commit is done to avoid a breaking typescript change which could have the potential to affect some users who read `filters` on a query as its type had been changed to be more flexible, but is now back to what it was.
* Move AND/OR into their own separate function
AND and OR should not be static functions of the filter class because then the user has to type Filter.AND instead of AND for example.
* Eliminate unused imports
Artifacts of having imports laying around and moving functionality between files
* Revert "Add a test for new warning"
This reverts commit bc15f32.
* Revert "Now removes deprecation warning properly"
This reverts commit db02a50.
* Revert "Revert "Now removes deprecation warning properly""
This reverts commit 8e96bf5.
* Revert "Revert "Add a test for new warning""
This reverts commit 1ddeea6.
* Change the warning message to include examples
Change the warning message to include examples as per the nit mentioned in the PR.
0 commit comments