java-to-zod icon indicating copy to clipboard operation
java-to-zod copied to clipboard

Support groups

Open ivangreene opened this issue 1 year ago • 0 comments

It is probably most useful to support different groups, see here for example: https://www.baeldung.com/javax-validation-groups

It would make sense to generate different schemas for each group that is mentioned in a class: Default has no suffix, and all other groups have a suffix that is the group name (so if you had a group called Create, you would get schema called UserCreate)

ivangreene avatar Nov 10 '23 22:11 ivangreene