Skip to content

Conversation

@gwleuverink
Copy link
Collaborator

@gwleuverink gwleuverink commented Oct 28, 2025

This pull request adds the Conditionable trait to all Facades where it makes sense (omitted all that don't use fluent chaining)

  • Added the Conditionable trait to the following classes, allowing the use of when and unless methods for more expressive and concise conditional logic:
    • App
    • Alert
    • AutoUpdater
    • ChildProcess
    • Clipboard
    • Dock
    • Notification

Facade method annotations:

  • Updated Facade classes to include @method annotations for when and unless, ensuring IDEs and static analysis tools are aware of the new methods:
    • App
    • Alert
    • AutoUpdater
    • ChildProcess
    • Clipboard
    • Dock
    • Menu already conditionable, not annotated
    • Notification

@gwleuverink gwleuverink self-assigned this Oct 28, 2025
@gwleuverink gwleuverink added the enhancement New feature or request label Oct 28, 2025
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

None yet

Development

Successfully merging this pull request may close these issues.

2 participants