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

fix: Remove hooks API deprecations #275

Merged
merged 3 commits into from
Apr 1, 2024

Conversation

theofidry
Copy link
Collaborator

This part of the API should not be deprecated. The idea of ParallelCommand is to provide a leaner and alternative API, not to replace the Parallelization trait.

A number of configuration methods are and should remain deprecated as they can now be easily configured via
configureParallelExecutableFactory() instead*.

*: the interest here is not so much to provide a difference from a user perspective, but rather to have one central point of customization, the ParallelExecutorFactory. Otherwise if we add/change a setting there we need to change it both in the factory and the trait.

This part of the API should not be deprecated. The idea of
`ParallelCommand` is to provide a leaner and alternative API, not to
replace the `Parallelization` trait.

A number of configuration methods are and should remain deprecated as
they can now be easily configured via
`configureParallelExecutableFactory()` instead*.

*: the interest here is not so much to provide a difference from a user
perspective, but rather to have one central point of customization, the
`ParallelExecutorFactory`. Otherwise if we add/change a setting there we
need to change it both in the factory and the trait.
@theofidry theofidry enabled auto-merge (squash) April 1, 2024 21:36
@theofidry theofidry merged commit d814e1d into webmozarts:main Apr 1, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant