sdk-php icon indicating copy to clipboard operation
sdk-php copied to clipboard

Send signal to workflow via parent interface

Open smelesh opened this issue 3 years ago • 1 comments
trafficstars

What was changed

Add an ability to create workflow stub without a handler method, so that signals can be sent to a running workflow via parent reusable interface.

Why?

Workflow interface inheritance is broken because workflow stub can not be created without a handler method annotated with WorkflowMethod.

Handler method is needed only to start a new workflow, but it's okay to send signals or queries to other workflows by stub created from a reusable parent interface.

Checklist

  1. How was this tested:

Integration tests

smelesh avatar Sep 29 '22 17:09 smelesh

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Sep 29 '22 17:09 CLAassistant

Friendly ping @wolfy-j / @roxblnfk

rustatian avatar Oct 19 '22 06:10 rustatian