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

Restrict usage of RecipeList methods from ScanningRecipe #4712

Merged
merged 2 commits into from
Nov 25, 2024

Conversation

timtebeek
Copy link
Contributor

What's changed?

Make getRecipeList and buildRecipeList final in ScanningRecipe.

What's your motivation?

Frequent source of confusion among users as the scanning conditions are not applied to these methods. Figured by making it explicit that this pattern is not expected or supported we'd see fewer questions like

Anything in particular you'd like reviewers to focus on?

Any valid cases I'd missed that should support this still?

@timtebeek timtebeek added the enhancement New feature or request label Nov 25, 2024
@timtebeek timtebeek self-assigned this Nov 25, 2024
@timtebeek timtebeek merged commit c343619 into main Nov 25, 2024
2 checks passed
@timtebeek timtebeek deleted the restrict-RecipleList-methods-for-ScanningRecipes branch November 25, 2024 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant