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

feat: relax zeebe:TaskListeners cleanup based on event types #92

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

barmac
Copy link
Contributor

@barmac barmac commented Dec 12, 2024

@bpmn-io-tasks bpmn-io-tasks bot added the needs review Review pending label Dec 12, 2024
@barmac barmac force-pushed the relax-event-types-cleanup branch from 40b7020 to b13f47e Compare December 12, 2024 17:10
@barmac barmac requested review from a team, philippfromme and abdul99ahad and removed request for a team December 13, 2024 08:40
@@ -74,7 +73,6 @@ function withoutDisallowedListeners(element, listeners) {
return listeners.filter(listener => {
if (
!is(element, 'bpmn:UserTask') ||
!ALLOWED_EVENT_TYPES.includes(listener.eventType) ||
Copy link
Member

Choose a reason for hiding this comment

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

I think this is generally a better behavior now. We should not cleanup everything, rigidly, always, and this is such a case.

Copy link
Collaborator

Choose a reason for hiding this comment

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

+1

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes.

@barmac barmac merged commit 6151ed9 into main Dec 13, 2024
4 of 5 checks passed
@barmac barmac deleted the relax-event-types-cleanup branch December 13, 2024 10:26
@bpmn-io-tasks bpmn-io-tasks bot removed the needs review Review pending label Dec 13, 2024
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.

3 participants