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 how Lite extension translator distinguishes synthetic observers #2605

Merged
merged 1 commit into from
Dec 7, 2021

Conversation

Ladicek
Copy link
Contributor

@Ladicek Ladicek commented Dec 7, 2021

No description provided.

Copy link
Contributor

@manovotn manovotn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since getting a Bean from OM is now supported, we'll also need to implement it under ObserverInfoImpl, see https://github.com/weld/core/blob/master/weld-lite-extension-translator/src/main/java/org/jboss/weld/lite/extension/translator/ObserverInfoImpl.java#L77-L78

We can either do it in a temporary way (casting it impl-specific class), or wait until CDI API releases. I'd say we do it in Weld specific way for now so that we can get this merged.

@Ladicek
Copy link
Contributor Author

Ladicek commented Dec 7, 2021

I'd say this PR itself can be merged regardless, because it doesn't touch that code. Otherwise, I don't really mind.

@manovotn manovotn merged commit 20b4afb into weld:master Dec 7, 2021
@Ladicek Ladicek deleted the fix-synthetic-observers branch December 8, 2021 07:52
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