Vercel News

Custom Class Serialization in Workflow SDK (opens in new tab)

**Published:** April 2, 2026 | **Authors:** Nathan Rajlich, John Lindquist --- Workflow SDK now supports custom class serialization, letting you pass your own class instances between workflow and step functions. Workflow SDK serializes standard JavaScript types like primitives, objects, arrays, `Date`, `Map`, `Set`, and more. Custom class instances were previously not supported because the serialization system didn't know how to reconstruct them. With the new `@workflow/serde` package, you...

Read the original article
Sign in to keep reading the full article.

Keyboard Shortcuts

Navigation

Next / previous post
j/k
Open post
oorEnter
Preview post
v

Post Actions

Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Save / unsave
s

Recommendations

Add interest / feed
Enter
Not interested
x

Go to

Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Discover
gb
Search
/

General

Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help