Add empty builder signatures
Dimava opened this issue · 5 comments
Dimava commented
Currently I have to
export const contract = apiBuilder({
method: 'get',
path: '/ping',
alias: 'ping',
response: z.literal('pong'),
})
.addEndpoint({
method: 'get',
path: '/ping',
alias: 'ping',
response: z.literal('pong'),
})
.build()
causing possible not-pretty diffs anf indentation
I would like to be able to
export const contract = apiBuilder()
.addEndpoint({
method: 'get',
path: '/ping',
alias: 'ping',
response: z.literal('pong'),
})
.build()
instead
ecyrbe commented
this should be doable without breaking change.
stale commented
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
ecyrbe commented
sorry, was closed automatically. it's still on todo