Replies: 1 comment 1 reply
-
Resource routes can still return plain JSON objects. Only UI routes will encode the payload as |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
As i'm using an SDK to talk to an external microservice for specific data. We use dtos and i can't just transmit them to the client if not wrapped in json().
As Single Fetch should make the use of json obsolete i'm wondering what i should try to fix the issue.
defer
and returning promises don't work either.The error message i'm getting is:
Cannot encode object with prototype
.Beta Was this translation helpful? Give feedback.
All reactions