We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently, annotations follow this syntax in order to support multi-valued annotations:
@myannotation(value1: "one", value2: "two")
For cases when 1 or no value is applicable for an annotation, it would be ideal to use a shorthand form to improve readability.
Single value - likely the most common usage
@myannotation("myvalue")
Is equivalent to
@myannotation(value: "myvalue")
No value - useful for "has annotation" style checks
@myannotation
@myannotation()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently, annotations follow this syntax in order to support multi-valued annotations:
For cases when 1 or no value is applicable for an annotation, it would be ideal to use a shorthand form to improve readability.
Single value - likely the most common usage
Is equivalent to
No value - useful for "has annotation" style checks
Is equivalent to
The text was updated successfully, but these errors were encountered: