next.js
Show a proper error if a server function's bound args cannot be serialized
#73471
Merged
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Overview
Commits
13
Changes
View On
GitHub
Show a proper error if a server function's bound args cannot be serialized
#73471
unstubbable
merged 13 commits into
canary
from
hl/use-cache-closed-over-functions
ijjk
added
created-by: Next.js team
ijjk
added
tests
ijjk
added
Turbopack
ijjk
added
type: next
unstubbable
marked this pull request as ready for review
1 year ago
unstubbable
requested a review
from
lubieowoce
1 year ago
lubieowoce
commented on 2024-12-03
lubieowoce
commented on 2024-12-03
Log error if bound args fail to be encrypted
e5758d26
Collect function declarations that server functions close over
548ed94e
Use `ExprFactory` helper functions
a2f11098
Handle unknown errors in generated `catch`
46a7b237
Re-throw error
e0202374
Re-throw newly created error
55ba81f8
Revert changes in `bind_args_to_ref_expr`
d767416d
Handle errors when bound args cannot be serialized
4f406768
Add a unit test for closed-over functions
6285e46a
Add clarifying comments
ee3bfae9
unstubbable
force pushed
from
450ab88a
to
ee3bfae9
1 year ago
Show an aggregated error
1fbeaa72
Revert "Show an aggregated error"
a8327e03
Only report one server function error at a time, starting with the first
5368118a
unstubbable
requested a review
from
lubieowoce
1 year ago
lubieowoce
approved these changes on 2024-12-03
unstubbable
merged
22daa8ed
into canary
1 year ago
unstubbable
deleted the hl/use-cache-closed-over-functions branch
1 year ago
github-actions
added
locked
github-actions
locked
as resolved
and limited conversation to collaborators
1 year ago
Login to write a write a comment.
Login via GitHub
Reviewers
lubieowoce
Assignees
No one assigned
Labels
type: next
created-by: Next.js team
Turbopack
locked
tests
Milestone
No milestone
Login to write a write a comment.
Login via GitHub