Closed
Description
Describe the proposal
Currently a few Dapr worflows related classes are "poorly" named and do not reflect the intent of the class. Also some classes are exposed to the public API, while it shouldn't.
Here are a few of the offenders:
Workflow
abstract class - ideally it should be an interface and have "default" methods, for everything that is currently usedWorkflowActivity
interface - it should be moved outside ofruntime
package, since it is part of the programming modelOrchestratorWrapper
andActivityWrapper
- these should be renamed toWorkflowWrapper
andWorkflowActivityWrapper
respectivelyWorkflowActivityContext
- this should be an interface just likeWorkflowContext
and moved outside ofruntime
since it is part of the programming model.DaprWorkflowContextImpl
- should be renamed toDaprWorkflowContext
and moved toruntime
package since this is an internal implementation.
By implementing this proposal we will ensure that the classes that the developers have to interact with aka are part of the programming model are available in io.dapr.workflows
while all the rest are pushed to runtime
and also have proper names.
Metadata
Metadata
Assignees
Labels
No labels