Closed benjamminj closed 3 years ago
Thank you for this awesome PR! You even included a test 🥰 I'll gladly merge.
we could fix this upstream in
superjson
I think this is the right place, we shouldn't optimise for any Next.js specific things in superjson
itself.
@allcontributors add Benjamminj code test bug
@Skn0tt
I've put up a pull request to add @Benjamminj! :tada:
This fixed an issue I was having -- thanks so much Benjamin!!
Resolves #5
Alternatively, we could fix this upstream in
superjson
if we'd rather do that, although I think that would involve changingmeta
to default tonull
if there's no transformed properties.