-
Notifications
You must be signed in to change notification settings - Fork 30
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
Clarify difference between "extends" and "superclass" properties of types #21
Comments
Think about it as a plug in mechanism from the side. Instead of doing this:
You may provide additional type information to
This means As part of model checks you may now ask whether your dealing with Understandable? |
Understandable! But what exactly is the difference between |
That is correct. The difference is that extending is implicit while inheriting via Take the example of constructing an instance of |
Feel free to ask more questions, if that helps you understand. I'll leave this issue open until we add the actual documentation for |
Ok, cool. Along with the new documentation I think I got it! Thanks for the quick response. |
In the documentation, there is only mentioned how to use the
superClass
property of a type. But the code and further examples relating to bpmn-js also show there is aextends
property.It would be great to know, how those differ as their naming is rather ambiguous.
The text was updated successfully, but these errors were encountered: