In 5.x, constraints on Optional were automatically applied to the unwrapped value. Considering that we now recommend to use type argument constraints, we will now remove this behavior. Users should use type argument constraints on Optional as they should do for other container types. |