We have a form that sends it data to the wisdom server.
One of the fields (@FormParameter) sent represents a Date.
Currently, if the date is not provided, wisdom does not even complete the request. This is because the constructor for java.util.Date throws an exception when asked to parse a null String.
I noticed the @DefaultValue annotation, but this only accepts the String that the request "should have" sent. Wouldn't it be cool to recognize @Nullable so that we could receive a null Date instead?
We have a form that sends it data to the wisdom server. One of the fields (@FormParameter) sent represents a Date. Currently, if the date is not provided, wisdom does not even complete the request. This is because the constructor for java.util.Date throws an exception when asked to parse a null String.
I noticed the @DefaultValue annotation, but this only accepts the String that the request "should have" sent. Wouldn't it be cool to recognize @Nullable so that we could receive a null Date instead?