kobylynskyi / graphql-java-codegen

Make your GraphQL Java application schema-driven.
https://kobylynskyi.github.io/graphql-java-codegen/
MIT License
270 stars 114 forks source link

Generate inputs only #1573

Open Oualitsen opened 1 month ago

Oualitsen commented 1 month ago

In most cases, the model classes that will be used will be different from the types exposed to the client. Fields such as secrets and passwords might be in the database and declared as fields on model classes but I don't want to even declare them on types. Is there a way to generate enums and inputs only and skip types generation?

kobylynskyi commented 1 month ago

Currently three is no way to exclude certain types or while from generation.