-
Notifications
You must be signed in to change notification settings - Fork 162
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
Simplify the various 'is_valid' calls #1086
Draft
clalancette
wants to merge
9
commits into
rolling
Choose a base branch
from
clalancette/simplify-valid
base: rolling
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Commits on Aug 6, 2023
-
Refactor rcl_subscription_is_valid.
Users should be able to query whether a subscription is valid without having an error set. Only set an error if an invalid pointer (e.g. NULL) was passed in. Signed-off-by: Chris Lalancette <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9aab2a8 - Browse repository at this point
Copy the full SHA 9aab2a8View commit details -
A user should be able to query whether a client is valid without an error being set. Fix that here. Signed-off-by: Chris Lalancette <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 97ddf0b - Browse repository at this point
Copy the full SHA 97ddf0bView commit details -
A user should be able to query whether an event is valid without an error being set. Fix that here. Signed-off-by: Chris Lalancette <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 860ab94 - Browse repository at this point
Copy the full SHA 860ab94View commit details -
A user should be able to query whether a node is valid without setting an error. Fix that here. Signed-off-by: Chris Lalancette <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8e23cd1 - Browse repository at this point
Copy the full SHA 8e23cd1View commit details -
Simplify rcl_publisher_is_valid.
A user should be able to query whether a publisher is valid without it setting an error. Fix that here. Signed-off-by: Chris Lalancette <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d7e6664 - Browse repository at this point
Copy the full SHA d7e6664View commit details -
Simplify rcl_service_is_valid.
A user should be able to query whether a service is valid without it setting an error. Fix that here. Signed-off-by: Chris Lalancette <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f805b97 - Browse repository at this point
Copy the full SHA f805b97View commit details -
Simplify rcl_service_event_publisher_is_valid.
A user should be able to query whether a service event publisher is valid without it setting an error. Fix that here. Signed-off-by: Chris Lalancette <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a77b3c9 - Browse repository at this point
Copy the full SHA a77b3c9View commit details -
Cleanup rcl_wait_set_is_valid.
A user should be able to query whether a wait_set is valid without it setting an error, which it already does. However, passing a NULL into it is logically invalid; we can't possibly answer that question. So set an error in that case. Signed-off-by: Chris Lalancette <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5ede8a8 - Browse repository at this point
Copy the full SHA 5ede8a8View commit details -
Signed-off-by: Chris Lalancette <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 43f41dd - Browse repository at this point
Copy the full SHA 43f41ddView 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.