temporalio / temporalio/sdk-php

Ensure better SDK support in IDE

Open
#554 0 comments 1 reaction 0 assignees View on GitHub

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 PromiseInterface result type from side effect calls in Workflow context

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.