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

Fix deprecations using activesupport deprecation #23249

Conversation

jrafanie
Copy link
Member

@jrafanie jrafanie commented Oct 30, 2024

Extracted from #23225

Don't use singleton, use a deprecator. We already had instance, which is a deprecator so make that obvious.

As an aside, I think some of these deprecations should be reviewed for deletion before the next release.

This enables us to move away from the singleton ActiveSupport::Deprecation methods
and towards instances and will allow us to use our own deprecator more easily.
Note, this deprecation was originally done for zeitwerk/namespace loading
and should be removed soon.  It was added originally in:
9e0de20
@jrafanie
Copy link
Member Author

@miq-bot cross-repo-tests /all

miq-bot pushed a commit to ManageIQ/manageiq-cross_repo-tests that referenced this pull request Oct 30, 2024
@jrafanie jrafanie changed the title [WIP] Fix deprecations using activesupport deprecation Fix deprecations using activesupport deprecation Oct 30, 2024
@jrafanie jrafanie mentioned this pull request Oct 30, 2024
30 tasks
@Fryguy Fryguy merged commit 1b6bbac into ManageIQ:master Oct 30, 2024
12 checks passed
@Fryguy Fryguy self-assigned this Oct 30, 2024
@jrafanie jrafanie deleted the fix-deprecations-using-activesupport-deprecation branch October 30, 2024 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants