temporalio / temporalio/sdk-php
Ensure better SDK support in IDE
Open
A pull request for this has already been merged.
- #543 by @roxblnfk — merged
enhancement
- Dominant language
- PHP
- Stars
- 421
- Forks
- 64
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 11
Description
I would like better IDE support when working with the SDK.
What could it be:
Client API
- Autocomplete Workflow types in client API
- fallback to short class name if WF type is not set
- Autocomplete Workflow classes in client API
- Autocomplete signal/query/update methods in untyped client stubs
Workflow
- Autocomplete Workflow and Activity classes in Workflow context
- Autocomplete Activity types in untyped stubs (need to merge functions with prefixes)
- Autocomplete signal/query/update methods in Workflow context
- Force
PromiseInterfaceresult type from side effect calls in Workflow context
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the unchecked checklist items and compare them with the merged work in PR #543 to establish what remains. Focus on the listed untyped stubs and Workflow-context autocomplete requirements. Done means the remaining checklist items are implemented and the SDK provides the requested IDE support.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100