Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions packages/start-server-core/src/server-functions-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,9 @@ export const handleServerAction = async ({
if (typeof serializedContext === 'string') {
try {
const parsedContext = JSON.parse(serializedContext)
if (typeof parsedContext === 'object' && parsedContext) {
params.context = { ...context, ...parsedContext }
const deserializedContext = fromJSON(parsedContext, { plugins: serovalPlugins })
if (typeof deserializedContext === 'object' && deserializedContext) {
params.context = { ...context, ...deserializedContext }
}
} catch {}
}
Expand Down