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
{{ message }}
This repository was archived by the owner on Jan 19, 2025. It is now read-only.
When using the @value annotation with variant constant, the most common case is that we make an optional parameter constant. However, we always need to set an explicit value even in this case. This is time-consuming and until #872 is implemented, it's also rather limiting.
Desired solution
When configuring the @value of an optional parameter, add another radio button "Constant Original Default" or just "Remove" under the label "Choose the variant of this annotation:". It can then hide the two other form controls, similar to the "Required" option.
Possible alternatives (optional)
Have the user select the "Constant" radio button. Afterwards, the option to reuse the original default value could be offered.