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
Hello! "Hidden Command" article of Spring Shell reference documentation describes that the "hidden" option is not possible with annotations: Defining hidden commands is not supported with annotation based configuration
I verified that with the new style annotations the "hidden" option is supported and works as excepted, so the documentation seems incorrect. See also hidden option support in the content of "New annotation model" commit., for example from Command.java source: boolean hidden() default false;
Should this be corrected with something like this? Defining hidden commands is not supported with legacy annotation based configuration
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello!
"Hidden Command" article of Spring Shell reference documentation describes that the "hidden" option is not possible with annotations:
Defining hidden commands is not supported with annotation based configuration
I verified that with the new style annotations the "hidden" option is supported and works as excepted, so the documentation seems incorrect. See also hidden option support in the content of "New annotation model" commit., for example from Command.java source:
boolean hidden() default false;
Should this be corrected with something like this?
Defining hidden commands is not supported with legacy annotation based configuration
Thanks,
Alexander.
Beta Was this translation helpful? Give feedback.
All reactions