Repository navigation
Config Option to Generate Zero-Argument Constructor Only? #975
Answered
by
kobylynskyi
toinetoine
asked this question in
Q&A
|
Is there anyway to generate only a zero-argument constructor? I couldn't see anything in the configuration documentation. Wondering if there's a way so instead of generating both a zero argument constructor and all-argument constructor that graphql-java-codegen generates by default, could make it generate only the zero argument constructor (have the generated build method use getters instead). Reason is I'm breaching java limit of 255 params due to having extremely large schema types definitions (out of my control) of 500+ fields. Thanks. |
Answered by
kobylynskyi
May 12, 2022
Replies: 1 comment
|
Thanks for your inquiry. |
0 replies
Answer selected by
toinetoine
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for your inquiry.
Currently it is not possible.