git clone https://github.com/sachinraja/trpc-ultra
cd trpc-ultra
deno task dev
sachinraja / trpc-ultra Goto Github PK
View Code? Open in Web Editor NEWtRPC + Ultra
License: MIT License
tRPC + Ultra
License: MIT License
I've been trying to get this running on Deno Deploy and have upgraded to the latest beta version of @trpc/client but when running on Deno Deploy, I get a server error:
TRPCClientError: Unexpected non-whitespace character after JSON at position 3
at Function.from (file:///src/vendor/server/esm.sh/v96/@trpc/[email protected]/X-ZS8q/deno/links/httpBatchLink.js:2:155)
at file:///src/vendor/server/esm.sh/v96/@trpc/[email protected]/X-ZS8q/deno/links/httpBatchLink.js:2:4047
Do you have any clue where I could further investigate this error?
So I have TRPC working nicely in a project but my only issue is that I cannot find a way to recover an error before it crashes the app. per the documentation here https://trpc.io/docs/error-handling throwing an error should result in returning an object containing error info that I presume should be passed into the query result as error, but instead I have to place a try catch around each query. is there not a better way of doing this that uses the error object in query result, or am I doing it wrong
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.