If @component has value register activity with that value#1577
If @component has value register activity with that value#1577javier-aliaga wants to merge 2 commits intodapr:masterfrom
Conversation
Signed-off-by: Javier Aliaga <javier@diagrid.io>
|
@javier-aliaga I would totally add a test to verify that if two Activities with the same name are registered from two different packages we know what happens. |
|
@kendallroden @javier-aliaga I also think this deteriorates the developer experience forcing the user to assign a name just to avoid displaying something in the UI. |
|
@salaboy We can try to register the activities with The main problem is how to make this not a breaking change |
|
That's what I suggested to implement in the UI. We can do that in the SDK side, but if the user wants to see more info about what the abbreviated notation mean that is completely lost. |
@salaboy I think with the evolution of the workflows the way we call activities may not be possible anymore (it will be possible as long as the class is in the classpath). It will be the case that the class is not present on the client side as it is being to be executed by another app even in a different language |
Description
Enable registering activities with custom names. @component value will be use as registration name
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #[issue number]
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list: