CRUD operations don't activate actions/constraints in other metamodels
- Dominant language
- JavaScript
- Stars
- 25
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
1. Create a new formalism with two classes and an association.
2. Place an action on one of the classes, such as print('Hello'); on pre-connect.
3. Create concrete syntax, and then an instance model.
4. Observe that the action is executed when the association is created.
5. Load the Generic Graph formalism.
6. Observe that the action is NOT executed when the generic link is created.
Reason: The function __crudOp in mmmk.js is executed with GenericGraph as the formalism, so the action is not evaluated.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in mmmk.js at __crudOp and reproduce the listed formalism, instance-model, and Generic Graph link-creation steps. Trace how the active formalism is selected for CRUD operations, then verify that actions and constraints defined in the original metamodel also execute when the corresponding generic link is created.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100