-
Notifications
You must be signed in to change notification settings - Fork 2
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
Disallow Connectors (Element Templates) Prior to Camunda 8 #31
Conversation
0d53289
to
78666f6
Compare
Given my previous comment (#30 (comment)) could you elaborate why you chose to move forward like this? I know that that I believe a business requirement is that we want connectors (also the ones a user potentially creates / all element templated tasks) to appear not supported in the web modeler (but also the desktop modeler). |
So disallowing element templates altogether would be the way to go? |
Yes. Because they won't work (connector or not) for basic cases. |
Will adjust. |
78666f6
to
fbfb24c
Compare
Element templates are now disallowed alltogether. Ready for review. |
index.js
Outdated
@@ -10,6 +10,7 @@ module.exports = { | |||
'has-error-reference': 'error', | |||
'has-loop-characteristics': 'error', | |||
'has-message-reference': 'error', | |||
'has-no-template': 'error', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The last concern I have is this name. Can we find a better one that clearly states templates are not supported? As it looks like we settled on has*
already, so maybe this name is just a thing that users of this plug-in will understand.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any suggestions for a better naming scheme? We can still change it. Right now no one actually gets to see those names.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe templates-not-supported
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or no-template-support
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or no-templates
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And the opposite would then be error-reference
instead of has-error-reference
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think so. I'd use eslint / bpmnlint as an inspiration that setup this pattern.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, will adjust.
138bf08
to
b98ac91
Compare
Much better like this. Awesome that you followed up 💪 |
Disallow any
zeebe:modelerTemplate
attributes.Closes #30