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

Move the help message code to an observer #82

Merged
merged 1 commit into from
Jan 7, 2025
Merged

Conversation

nvnieuwk
Copy link
Collaborator

Moves the help message code from the extension point to an observer. This will fix the occassion when a user only wants to use the help message without using any functions of the plugin.

Previously the help message would only be created once a function was imported.

This PR also updates some class names to have them make more sense.

@nvnieuwk nvnieuwk requested a review from mirpedrol December 19, 2024 15:41
@nvnieuwk
Copy link
Collaborator Author

Fixes #52

Copy link
Collaborator

@mirpedrol mirpedrol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

nextflow.validation.ValidationExtension
nextflow.validation.ValidationObserverFactory
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just to doubleckeck, ValidationObserver doesn't have to be added?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope the factory creates the observer so it gets implemented that way :)

@nvnieuwk nvnieuwk merged commit 011c3a7 into 2.3.0dev Jan 7, 2025
6 checks passed
@nvnieuwk nvnieuwk deleted the help-observer branch January 7, 2025 11:51
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