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
Right now it's not possible to deprecate aliases in a nice way. It should be possible to mark an alias with an Obsolete attribute.
Obsolete
[CakeMethodAlias] [Obsolete("You should use DoNewMagic instead.", false)] public static void DoMagic(this ICakeContext context) { }
Would result in a warning message when running:
Warning: The alias DoMagic is obsolete. You should use DoNewMagic instead.
If the Obsolete attribute is configured to be an error, an exception should be thrown instead with the same message as the warning.
The text was updated successfully, but these errors were encountered:
@devlead @gep13 Would appreciate if one of you took a look at this 😄
Sorry, something went wrong.
2875885
patriksvensson
No branches or pull requests
Right now it's not possible to deprecate aliases in a nice way.
It should be possible to mark an alias with an
Obsolete
attribute.Would result in a warning message when running:
If the
Obsolete
attribute is configured to be an error, an exception should be thrown instead with the same message as the warning.The text was updated successfully, but these errors were encountered: