next.js
Show a proper error if a server function's bound args cannot be serialized
#73471
Merged

Show a proper error if a server function's bound args cannot be serialized #73471

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

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone