It will be nice to have flag that allows to generate getters for all models (esp. Request one) #740
vitalii-marchenko
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
@markony647 Yes , you're right. There is no |
Beta Was this translation helpful? Give feedback.
0 replies
-
@markony647 thanks for your message. public Object get(String fieldName) {
return input.get(fieldName);
} This sounds not that helpful, right? Because probably you are already doing something like: (FieldType) request.getInput().get("fieldName"); Please let me know your thoughts. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! Thank you for such a great project!
I just wanted to ask/suggest if it is possible to generate models in Java with getters? Currently, I can see that only setters are generated, and to access the fields you should work with Map<String, Object> input.
It is not very convenient when you are writing integration API tests and want to validate that the request has been processed correctly.
Probably I'm doing something incorrectly?
Thanks again for the great plugin!
Beta Was this translation helpful? Give feedback.
All reactions