You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The @Source annotation has a parameter name, the javadoc says it should denote the name of the added field. But the spec text doesn't mention this at all, and the TCK don't verify this either.
Another way to specify the name is to use a @Name annotation on the source method. We might need to clarify that both approaches are supported, and potentially specify which one takes priority?! (Or leave the behavior as "undefined" in case that both approaches are used at the same time)
The text was updated successfully, but these errors were encountered:
There's no value attribute on @Source, only name.
Shall we deprecate the name attribute for removal? It would be tempting to remove it right away because it probably never worked for anybody, but if the next release is a minor (2.1) then I think we should still refrain from it.
The
@Source
annotation has a parametername
, the javadoc says it should denote the name of the added field. But the spec text doesn't mention this at all, and the TCK don't verify this either.Another way to specify the name is to use a
@Name
annotation on the source method. We might need to clarify that both approaches are supported, and potentially specify which one takes priority?! (Or leave the behavior as "undefined" in case that both approaches are used at the same time)The text was updated successfully, but these errors were encountered: