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

Attribute also does the validate #5818

Merged
merged 25 commits into from
Dec 27, 2023

Conversation

weitzman
Copy link
Member

@weitzman weitzman commented Nov 23, 2023

Today, folks writing validators will usually write a Commandfile with their validation method and an Attribute class. This PR explores a pattern where only an Attribute is needed.

Depends on consolidation/annotated-command#306

@weitzman weitzman changed the title ValidateFileExists - Attribute also does the validate Attribute also does the validate Dec 25, 2023
@weitzman weitzman merged commit 3bcabf4 into drush-ops:12.x Dec 27, 2023
2 checks passed
@weitzman weitzman deleted the validate-work-in-Attribute branch December 27, 2023 20:41
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.

None yet

1 participant