Introduce of custom transports leads to deserialize
not working on server side
#13675
Labels
bug
Something isn't working
deserialize
not working on server side
#13675
Describe the bug
Prior to @sveltejs/[email protected] I was able to use the
deserialize
function in server side routes to parse the response returned by calling svelte kit action methods using fetch. If relevant, my specific use case is a route that runs automates filling out some forms for the user based on the response from an LLM. I use deserialize to parse the response from the action.Attempting to upgrade to any version >= 2.11.0 (including latest 2.20.3 as of April 3) results in all server side usages of
deserialize
throwing the following error:I ran
npm run build
andnpm run preview
results in the same error as well.deserialize
still works when used client side (.svelte
) files but does not work in anyserver.js/ts
files.Reproduction
Logs
System Info
Severity
blocking an upgrade
Additional Information
Probably related to #13149
The text was updated successfully, but these errors were encountered: