sdk-php
sdk-php copied to clipboard
Temporal PHP SDK
## What was changed Added `ServiceClient::createDefaultConnection()` method that creates a new connection with settings from environment variables. ## Checklist 1. Closes #420 2. [ ] Tests 3. [ ] Docs...
### What are you really trying to do? Unit test a workflow ### Describe the bug When unit testing a workflow, if the workflow under test encounters a runtime exception...
## What was changed Added support for psr/log ^1 ## Why? It makes now sense to support ^2 |^3 but not support ^1, the changes are only in the way...
### Is your feature request related to a problem? Please describe. See https://github.com/temporalio/features/issues/469 https://github.com/temporalio/sdk-php/blob/8cdcc1819be60e838d5e1f92b69f913aac61a58e/src/Client/WorkflowStubInterface.php#L106 wait stage is currently optional and the docstring implies it's async rather than sync ### Describe...
## I have an idea I suggest adjusting the Workflow Client interface: introduce a distinction between the concepts of Stub and Proxy. Currently, as a result of calling the method...
Expose a defaultConnection() method or similar that switches between localhost (default) and cloud based on some environment variable, so that we can use it in the samples repos to allow...
### What are you really trying to do? I'm trying to use #MarshalArray with string keys. ### Describe the bug Data being serialized with proper keys but unserialized inproperly. ###...
### What are you really trying to do? We are trying to start a workflow with a class descendant ### Describe the bug ### Minimal Reproduction Code ```php
Users want to easily await (or ignore) all their remaining handlers when they continue as new or exit the workflow. Since we can't tell what they want, they should specify.
We can recommend the await-all-handlers or drop-all-handlers methods. TBD whether error or warning.