You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to FreeBuilder
Hi.
I would want to use the generated builders as "form backing objects" in Spring MVC views.
The problem I'm having is that the builder throws IllegalStateException when getting a property that is not set, but in this case it would be "useful" if it returned null instead, and do the checks only when the "build" method is called.
It this possible now? If not: what do you think of having an option to generate this kind of less strict builders?
Thank you very much :)
Regards. Germán.
Chris Purcell
unread,
Apr 10, 2016, 2:36:54 PM4/10/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to FreeBuilder
Hi Germán!
Thanks for this feature request! I've opened https://github.com/google/FreeBuilder/issues/121 to track further discussion. If you have the inclination to submit a PR for this, I'd be very happy to review; otherwise, it may take a while to get prioritised.
Thanks!
Chris
Germán Ferrari
unread,
Apr 10, 2016, 4:03:07 PM4/10/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to FreeBuilder
Ok. I will add further comments on the linked issue.