epicmau5time15mo ago

Superjson "undefined"

When returning a list from the db with a ton of potential undefined fields, superjson just crams a ton of undefined's in meta: Actual data: 1711 lines, Data + Meta: 3028 lines. Is there a way to prevent superjson from sending "undefined" meta fields or a middleware that runs after the fact to remove them? Or is the solution to not use superjson?
1 Reply
Nick15mo ago
One to check on their repo really, it's probably working as intended