Closed tylercollier closed 1 year ago
Ha, good catch! I'm curious, what are you using SuperJSON for where you depend on how meta
works internally?
@all-contributors please add @tylercollier for docs
@Skn0tt
I've put up a pull request to add @tylercollier! :tada:
@Skn0tt Thanks for superjson and accepting the pull request. To answer your question, I went all in on using trpc, including on a project with PHP as the backend, which perhaps is foolish. I didn't see any libraries for TRPC/JSONRPC for PHP so I'm creating the output myself. I added superjson to be able to handle dates, which was easy on the React side but then I had to know more about how superjson's internals to handle the PHP side. And I took that knowledge from the README :-)
Hopefully it'll save someone else some time