-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
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
@deprecated
w/o argument is deprecated
#948
Comments
Note that this can be worked around if your compiler options are strict and you're getting error because of this with the following option: |
I think rendering deprecated Or do you mean we should render deprecation without message and since as |
I think it's the latter, yeah. Basically if either |
Scala compiler raises warning for deprecated annotation without message and/or since fields. close #948
released in 0.17.8 |
We generate
@deprecated
annotation code from shapes that w/ thesmithy.api#deprecated
trait.smithy.api#deprecated
is defined as:So there are fields that we can use to render a proper
@deprecated
annotation in Scala code. I suggested that we get themessage
andsince
from the hint and fallback toN/A
if empty.The text was updated successfully, but these errors were encountered: