Details
-
Bug
-
Status: Resolved
-
P3
-
Resolution: Won't Fix
-
None
-
None
Description
The workaround for user is to have some default values set and override them at runtime.
One example of validating runtime parameter at construction time is following, and there are could be more.
@Override
public void validate()
A reported issue on stackoverflow: https://stackoverflow.com/questions/49595921/valueprovider-type-parameters-not-getting-honored-at-the-template-execution-time
One concern I have is that if we disable the validation at construction time, how do we validate it at runtime? Ideally, users should use template parameter metadata for validation, but that is optional.