Skip to content
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

proc-macros: Support deprecated methods for rpc client #570

Merged
merged 3 commits into from
Nov 21, 2021

Commits on Nov 21, 2021

  1. Configuration menu
    Copy the full SHA
    fc6d9d7 View commit details
    Browse the repository at this point in the history
  2. proc-macros: Support deprecated methods for rpc client (paritytech#564)

    Calling a deprecated method of the RPC client should warn
    the user at compile-time.
    
    Extract the `#[deprecated]` macro as is while parsing the
    RpcMethod, and pass through the macro to the RPC client
    rendering.
    lexnv committed Nov 21, 2021
    Configuration menu
    Copy the full SHA
    ff44e04 View commit details
    Browse the repository at this point in the history
  3. tests/ui: Check deprecated method for rpc client (paritytech#564)

    To ensure that the test will fail during compilation,
    warnings are denied.
    
    Check that the deprecate macro will generate warnings
    just for the methods that are utilized.
    lexnv committed Nov 21, 2021
    Configuration menu
    Copy the full SHA
    15ad8b3 View commit details
    Browse the repository at this point in the history