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
fix: Change tests to use new filter and use gax warn for warning just once (#1185)
* trim operator
In the legacy version of filter we trim the operator. We should do this here too.
* In test cases, replace various filter calls
Always pass entity filters into the filter function in tests to reflect new behavior.
* accept string too
A string is needed as an input parameter because we might trim it to get an operator.
* Use .filter the old way
Revert changes on the .filter method
* Change docs to use new filter
The new property filter should be used and this should be reflected in the doc comments.
* Use new Property filter
In entity.ts, use the new property filter constructor.
* Revert changes to operator
The changes cause compiler errors. Do not trim the operator for now.
* Move test up and add change
Add change to issue warning just once. Use google-gax so that the warning is issued just once.
* Revert "Change docs to use new filter"
This reverts commit c290481.
* run linter
* Add a test to ensure just one warning
A test to make sure the warning is emitted just once might provide proper coverage.
0 commit comments