-
Notifications
You must be signed in to change notification settings - Fork 75
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
Add sim-only deprecation notice #1634
Conversation
7fa44b4
to
11b4a37
Compare
11b4a37
to
641f26f
Compare
# Conflicts: # cmd/soroban-cli/src/utils.rs
cmd/soroban-cli/src/utils.rs
Outdated
/// Mark argument as deprecated with warning to be printed when it's used. Note: marco is only | ||
/// supported for `bool` and `String` and is required to add | ||
/// ``` | ||
/// use clap::builder::TypedValueParser; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which function call requires this type? We can instead reference the type using the generic as syntax.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I pushed 3e143cf that removes the need for the use. Have a look at the syntax.
What
Added following notice when running a command with deprecated flag:
Why
#1547
As the first step, we should add deprecation notice so people have time to migrate off this flag. In the next major release we can remove it.
Known limitations
Added marco needs to include proper
use
, see the doc