restatedev / restatedev/sdk-typescript

.getAll() the entire state at once

Open
#430 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
122
Forks
27
Avg merge
9h 17m
Merged PRs (30d)
8

Description

Currently if I want to get the entire key value state on a virtual object - I need to .get each key individually.

It would be nice if a .getAll() function existed that returned the entire state in one atomic call.

Contributor guide

No contributing guide indexed for this repository

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 locating the TypeScript SDK's virtual object state API and the existing .get entry point. Check how state reads are tested and determine the expected atomic result shape from the issue. Done means a .getAll() call returns the entire key-value state in one operation with corresponding tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend-api-design
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 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.