npm @orpc/json-schema 1.7.1
v1.7.1

latest releases: 0.0.0-next.cc1a1aa, 1.13.0, 0.0.0-next.f01f7b1...
5 months 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 json-schema release

NewReleases is sending notifications on new releases.