| This has been an issue before BV 2.0, but the exposure of container-element constraints makes it apparent one more time. What should we do in terms of the meta-data API if a field and the corresponding property getter have different types? What to return from getElementClass()? and what to return from the new getConstrainedContainerElementTypes()? The only thing I can see us doing is to mandate one preference rule, e.g. to return the meta-data from the property getter in that case. |