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

Closes #189: Introduce a mechanism to automatically register pre-action branch validators #190

Open
wants to merge 3 commits into
base: feature
Choose a base branch
from

Conversation

jeremystretch
Copy link
Contributor

Closes: #189

  • Adds the register_preaction_check() class method on Branch
  • Introduces BranchActionIndicator to enable conveying an explanatory message for validation failures
  • Configured validators are now imported only once, at initialization
  • All can_* methods on Branch are now cached properties

@jeremystretch jeremystretch force-pushed the 189-branch-merge-callbacks branch from 67a7372 to 477afa9 Compare February 5, 2025 18:00
@jeremystretch jeremystretch requested review from bctiemann and removed request for bctiemann February 5, 2025 18:17
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.

2 participants