Skip to content

Allow explicit bindings for Scoped classes - #297

Merged
vRallev merged 1 commit into
mainfrom
ralf/explicit-scoped-binding
Sep 29, 2026
Merged

vRallev merged 1 commit into
mainfrom
ralf/explicit-scoped-binding

Conversation

@vRallev

@vRallev vRallev commented Sep 29, 2026

Copy link
Copy Markdown
Owner

Scoped implementations with multiple service interfaces cannot use @ContributesScoped. Accept @ContributesBinding only when the class also contributes an exact, non-null, scope-qualified Scoped set binding, preserving lifecycle registration while enabling the explicit Metro form.

Scoped implementations with multiple service interfaces cannot use ContributesScoped. Accept ContributesBinding only when the class also contributes an exact, non-null, scope-qualified Scoped set binding, preserving lifecycle registration while enabling the explicit Metro form.
@vRallev
vRallev marked this pull request as ready for review September 29, 2026 17:47
@vRallev
vRallev merged commit dc029cc into main Sep 29, 2026
28 checks passed
@vRallev
vRallev deleted the ralf/explicit-scoped-binding branch September 29, 2026 17:48
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