Azure / Azure/azure-functions-durable-js

Provide user-implementable serialization and deserialization handlers

Open
#243 0 comments 1 reaction 0 assignees View on GitHub
Enhancement P2
Dominant language
TypeScript
Stars
142
Forks
66
Avg merge
3d 19h
Merged PRs (30d)
4

Description

While most JavaScript objects can be encoded to and from JSON with ease, there are still some cases where users might prefer to have the option to implement a serialization handler for our SDK to call internally. The alternative is to recommend that users pass datatypes as strings and manually handle serialization themselves, which isn't particularly elegant.

Since Python already does this, I think there's good reason to consider porting that infrastructure to JS as well.

Contributor guide

Open the contributing guide

Research direction

Start by locating the JavaScript SDK's existing JSON serialization and deserialization paths, then compare them with the serialization infrastructure already present in Python. Define the user-facing handler API and its integration points before implementing it, and verify that supported custom datatypes can round-trip through the SDK.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.