temporalio / temporalio/sdk-ruby

[Feature Request] Add explicit memoization support to the`patched()` API

Open
#209 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Ruby
Stars
204
Forks
42
Avg merge
1d 30m
Merged PRs (30d)
28

Description

Describe the solution you'd like

In short:

  • Add a memoized argument to the patched and deprecatePatch APIs.

  • Delegate handling of the patched logic to Core.

  • Backward compatibility support is probably not a concern for this SDK.

See temporalio/features#591 for details.

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

Start by reading temporalio/features#591 and tracing the existing patched and deprecatePatch APIs in the Ruby SDK. Define the memoized argument and the Core delegation behavior from that request; done means both APIs support the requested memoization behavior without breaking their existing interface.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.