Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
worldsayshi
· 1y ago · 0 comments
Does zod really support that? What if the code base start out with a go backend and a TS/JS component is only added later? It would be nice if the source of truth was a bit more language agnostic.
Comments
[–]
oxidant
1y ago
Better to use something like OpenApi and generate your zod schema using it.
[–]
crabmusket
1y ago
And thus is born the 15th IDL for cross language API calls...