Slackbot
06/05/2022, 10:30 PMdaniel
06/06/2022, 12:51 PMtasks.remove
but that is extremely dangerous in the sense that it’s quite easy to produce very strange error that wouldn’t tell much to the user.
However, the remove feature doesn’t exists on ModelMap
. You would probably need to use @Validate
rule on the TaskContainer
. It would most likely work because the TaskContainer
is unmanaged meaning you can mutate the object in a validation rule. The rule runs after every other rules. Note that a lot of what I just said break the contract of the Software Model. I would use extreme caution with that approach.thadhouse
06/06/2022, 8:23 PM