Open
Description
What is the problem this feature would solve?
I want to use ArkType instead of Typebox other major library's are supporting standart schema validator this allows the validator any of based standart schema validator library like zod, arktype, valibot etc
What is the feature you are proposing to solve the problem?
here is the trpc example
import { initTRPC } from '@trpc/server';
import { type } from 'arktype';
export const t = initTRPC.create();
const publicProcedure = t.procedure;
export const appRouter = t.router({
hello: publicProcedure.input(type({ name: 'string' })).query(({ input }) => {
const publicProcedure: ProcedureBuilder<object, object, object, typeof unsetMarker, typeof unsetMarker, typeof unsetMarker, typeof unsetMarker, false>
return {
greeting: `hello ${input.name}`,
};
}),
});
export type AppRouter = typeof appRouter;
What alternatives have you considered?
No response