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

deprecation message spam #2656

Open
schveiguy opened this issue May 18, 2022 · 0 comments
Open

deprecation message spam #2656

schveiguy opened this issue May 18, 2022 · 0 comments

Comments

@schveiguy
Copy link
Contributor

In the latest version, vibe.http.status.HTTPStatus has an entire group of deprecated members. While this makes sense for people who are using them individually, there is a problem that formatValue will still build code that uses those deprecated members.

So if I try to log an error, I get pages and pages of deprecation messages, none of which are important.

Is there a way we can use maybe a version to completely remove those deprecated members from the enum?

schveiguy added a commit to schveiguy/vibe.d that referenced this issue Aug 1, 2022
enum will not have any deprecated members, and deprecations due to
trying to format such an enum variable will not spew pages of
deprecation spam.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant