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

bug fix: extensions can register more extensions via apply method #5116

Merged

Conversation

ElvinEfendi
Copy link
Contributor

@ElvinEfendi ElvinEfendi commented Oct 4, 2024

#5054 introduced a regression where an extension registered eagerly (using the kwarg) can no longer register another extension in its apply method. I fix the bug here by restoring the previous @call_after_define logic.

rmosolgo#5054 introduced a regression
where an extension registered eagerly can no longer register another
extension in its `apply` method. I fix the bug here by restoring the
previous `@call_after_define` logic.
@ElvinEfendi ElvinEfendi force-pushed the elvin/fix-extension-instantiation branch from 8f4e049 to ca493a0 Compare October 4, 2024 02:33
@rmosolgo
Copy link
Owner

rmosolgo commented Oct 4, 2024

Sorry for the trouble and thanks for this fix!

@rmosolgo rmosolgo added this to the 2.3.17 milestone Oct 4, 2024
@rmosolgo rmosolgo merged commit cbebcfa into rmosolgo:master Oct 4, 2024
14 of 15 checks passed
@ElvinEfendi ElvinEfendi deleted the elvin/fix-extension-instantiation branch October 4, 2024 14:03
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

Successfully merging this pull request may close these issues.

2 participants