To unwrap a type value , a an {{@UnwrapValidatedValue}} annotation must be used. For example:
{code} @UnwrapValidatedValue Optional<String> email; { / code}
However, this can be troublesome if there are many wrapper types used wrapped value as the {{@UnwrapValidatedValue}} annotation will be repeated many times .
This issue is to provide a global config that when set to true, wrapper types will be unwrapped by default even if the without having to use {{@UnwrapValidatedValue}} annotation is not present .
|