question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Deprecation warning (API)

See original GitHub issue

The Issue

I don’t get any warnings for deprecated commands usign the api. ( Also api docs are outdated )

Steps to reproduce

  1. Just call a deprecated command (send_amount_to_address) See example: https://github.com/lbryio/lbry/issues/1123#issuecomment-367565815

Expected behaviour

I think the behavior should be consistent across the API and CLI https://github.com/lbryio/lbry/issues/1123#issuecomment-367573379

It should provide / show a deprecation warning / error:

   Deprecated send_amount_to_address in favor of wallet_send

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
alyssaoccommented, Oct 31, 2018

closing, issue resolved

1reaction
hackrush01commented, Feb 22, 2018

Thanks. I think the behavior should be consistent across the API and CLI. I probe into the issue.

Kind Regards Amit Tulshyan

On Feb 22, 2018 10:17 AM, “Baltazar Gomez” notifications@github.com wrote:

Closed #1123 https://github.com/lbryio/lbry/issues/1123.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/lbryio/lbry/issues/1123#event-1486184222, or mute the thread https://github.com/notifications/unsubscribe-auth/AQxPZtVIZg-HJwmtdL2h5iupdVNyz71gks5tXPF7gaJpZM4SOTmy .

Read more comments on GitHub >

github_iconTop Results From Across the Web

Deprecating API Endpoints
Deprecation communicates a function, method, or entire package is going away or being. How do you warn developers when an API or endpoint...
Read more >
Warning client about deprecated REST API
I would not change anything in the status code or in the service response to be backward compatible. I would add a "Warning"...
Read more >
API compatibility policy and deprecation policies
The following notifications are given to mitigate potential issues when APIs are deprecated. The deprecation period is 12 months. ... Notice of API...
Read more >
API Best Practices for Feature Deprecation
Deprecating a feature means that we tell our users that they shouldn't use this feature anymore because it will be gone ...
Read more >
How and When to Deprecate APIs
Using the @Deprecated annotation to deprecate a class, method, or field ensures that all compilers will issue warnings when code uses that program...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found