-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Change tests to use new filter and use gax warn for warning just once #1185
Merged
danieljbruce
merged 11 commits into
googleapis:main
from
danieljbruce:test-change-tests-to-use-new-filter
Oct 23, 2023
Merged
fix: Change tests to use new filter and use gax warn for warning just once #1185
danieljbruce
merged 11 commits into
googleapis:main
from
danieljbruce:test-change-tests-to-use-new-filter
Oct 23, 2023
Commits on Oct 23, 2023
-
In the legacy version of filter we trim the operator. We should do this here too.
Configuration menu - View commit details
-
Copy full SHA for 37a0a28 - Browse repository at this point
Copy the full SHA 37a0a28View commit details -
In test cases, replace various filter calls
Always pass entity filters into the filter function in tests to reflect new behavior.
Configuration menu - View commit details
-
Copy full SHA for 583301d - Browse repository at this point
Copy the full SHA 583301dView commit details -
A string is needed as an input parameter because we might trim it to get an operator.
Configuration menu - View commit details
-
Copy full SHA for c6f0f4e - Browse repository at this point
Copy the full SHA c6f0f4eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 483a71d - Browse repository at this point
Copy the full SHA 483a71dView commit details -
The new property filter should be used and this should be reflected in the doc comments.
Configuration menu - View commit details
-
Copy full SHA for c290481 - Browse repository at this point
Copy the full SHA c290481View commit details -
In entity.ts, use the new property filter constructor.
Configuration menu - View commit details
-
Copy full SHA for 868d85a - Browse repository at this point
Copy the full SHA 868d85aView commit details -
The changes cause compiler errors. Do not trim the operator for now.
Configuration menu - View commit details
-
Copy full SHA for 79ec7a3 - Browse repository at this point
Copy the full SHA 79ec7a3View commit details -
Add change to issue warning just once. Use google-gax so that the warning is issued just once.
Configuration menu - View commit details
-
Copy full SHA for d6b0207 - Browse repository at this point
Copy the full SHA d6b0207View commit details -
Revert "Change docs to use new filter"
This reverts commit c290481.
Configuration menu - View commit details
-
Copy full SHA for 6409509 - Browse repository at this point
Copy the full SHA 6409509View commit details -
Configuration menu - View commit details
-
Copy full SHA for 997a7f6 - Browse repository at this point
Copy the full SHA 997a7f6View commit details -
Add a test to ensure just one warning
A test to make sure the warning is emitted just once might provide proper coverage.
Configuration menu - View commit details
-
Copy full SHA for a193f29 - Browse repository at this point
Copy the full SHA a193f29View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.