You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ArC does not support @ConversationScoped but we could detect it and fail the build.
ATM we don't recognize this scope at all meaning some beans will instead end up with @Dependent scope - which is an error we could tell the user about.
To do this, we'll probably need to register conversation scope as a built-in scope and then change ContextNotActive exception to specifically mention this scope is not supported.
Alternatively, we could scan the bean archive index for the @ConversationScoped annotation and if present, fail the build. (That technically wouldn't even require making ArC know about @ConversationScoped, because other scopes are virtually always guaranteed to be used.)
Alternatively, we could scan the bean archive index for the @ConversationScoped annotation and if present, fail the build. (That technically wouldn't even require making ArC know about @ConversationScoped, because other scopes are virtually always guaranteed to be used.)
True, although that would prevent users from implementing their own custom conversation context.
I know it's super unlikely though ;-)
ArC does not support
@ConversationScoped
but we could detect it and fail the build.ATM we don't recognize this scope at all meaning some beans will instead end up with
@Dependent
scope - which is an error we could tell the user about.To do this, we'll probably need to register conversation scope as a built-in scope and then change
ContextNotActive
exception to specifically mention this scope is not supported.This issue is a follow-up to #45383
The text was updated successfully, but these errors were encountered: