github unnoq/orpc v1.7.1

latest releases: v1.8.6, v1.8.5, v1.8.4...
one month ago

ORPCMeta update for tRPC docs

 const example = t.procedure
-  .meta({ path: '/hello', summary: 'Hello procedure' }) 
+  .meta({ route: { path: '/hello', summary: 'Hello procedure' } }) 
   .input(z.object({ name: z.string() }))
   .query(({ input }) => {
     return `Hello, ${input.name}!`
   })

   🚀 Features

  • trpc: Restructure ORPCMeta + accessible lazy router  -  by @unnoq in #758 (5049f)

   🐞 Bug Fixes

  • client: Missing export createSafeClient  -  by @unnoq (cf4ae)
    View changes on GitHub

Don't miss a new orpc release

NewReleases is sending notifications on new releases.