Skip to content
Discussion options

You must be logged in to vote

I think what you are encountering is the behaviour of @defaultRequired=infer which sets the item to required if anything is set - whether it is static or a function call. You can also just set @defaultRequired=false (or true) and use @required/@optional to set accordingly.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bestickley
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants