You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@robojs/trpc currently handles the route and proxies the creation of the t instance. While this is great and all, we've yet to abstract the .context function that comes with initTRPC before create.
We should mimic that and make it chainable to maintain API compatibility with initTRPC. The existing context should be merged with the user-provided context.
The text was updated successfully, but these errors were encountered:
"Hi @Pkmmte ! I’d like to work on implementing the abstraction for the .context function to make it chainable, as you suggested. I’ll ensure it aligns with initTRPC for API compatibility and handles merging with the user-provided context. Please let me know if you have any additional guidelines or if there’s anything specific you’d like me to keep in mind!"
Points: 3
@robojs/trpc
currently handles the route and proxies the creation of thet
instance. While this is great and all, we've yet to abstract the.context
function that comes withinitTRPC
beforecreate
.https://trpc.io/docs/server/context
We should mimic that and make it chainable to maintain API compatibility with
initTRPC
. The existing context should be merged with the user-provided context.The text was updated successfully, but these errors were encountered: