Skip to content

Fix how Lite extension translator distinguishes synthetic observers#2605

Merged
manovotn merged 1 commit intoweld:masterfrom
Ladicek:fix-synthetic-observers
Dec 7, 2021
Merged

Fix how Lite extension translator distinguishes synthetic observers#2605
manovotn merged 1 commit intoweld:masterfrom
Ladicek:fix-synthetic-observers

Conversation

@Ladicek
Copy link
Copy Markdown
Contributor

@Ladicek Ladicek commented Dec 7, 2021

No description provided.

Copy link
Copy Markdown
Member

@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
Copy Markdown
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