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?
![](https://utfs.io/f/51a4a166-4d3c-442f-9307-ed62622db60e-1y845r.png)
1 Reply
One to check on their repo really, it's probably working as intended