Southclaws / supervillain

Converts Go structs to Zod schemas
MIT License
76 stars 6 forks source link

Create function to convert a slice of objects #8

Closed JoshuaTokenTransit closed 1 year ago

JoshuaTokenTransit commented 1 year ago

Right now, if we want to generate a bunch of types, and output them to the same file, if any of them share dependencies then we'll generate them twice.

So here's a function that uses the same converter to handle a list of types.