Skip to content
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

[cmd] Undeprecate deferredProxy #7417

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

spacey-sooty
Copy link
Contributor

This changes the way deferred proxy is implemented to not use the deprecated ProxyCommand constructor.

This function serves a good purpose that should be kept IMO. The constructor was confusing but this is just good syntactic sugar over defer(() -> supplier.get().asProxy()).

@spacey-sooty spacey-sooty requested a review from a team as a code owner November 21, 2024 13:41
Copy link
Contributor

This PR modifies commands. Please open a corresponding PR in Python Commands and include a link to this PR.

@spacey-sooty
Copy link
Contributor Author

This PR modifies commands. Please open a corresponding PR in Python Commands and include a link to this PR.

Not applicable to Python.

@spacey-sooty spacey-sooty force-pushed the undeprecate-defferred-proxy branch 2 times, most recently from 4380b8a to 7e8be3e Compare November 25, 2024 19:18
This changes the way deferred proxy is implemented to not use the
deprecated ProxyCommand constructor.

This function serves a good purpose that should be kept IMO. The
constructor was confusing but this is just good syntactic sugar over
`defer(() -> supplier.get().asProxy())`.

Signed-off-by: Jade Turner <[email protected]>
@spacey-sooty spacey-sooty force-pushed the undeprecate-defferred-proxy branch from 7e8be3e to 4123210 Compare December 19, 2024 13:25
@github-actions github-actions bot added the component: command-based WPILib Command Based Library label Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: command-based WPILib Command Based Library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants