Version 1.1.0 - #100
Merged
alexanderlarsen merged 8 commits intoMay 1, 2026
Merged
Conversation
- Fixed `ToTarget<T>` matching so bindings targeted at a base component type also apply to derived component targets. - Updated binding conflict detection to catch duplicate or ambiguous qualifier combinations that can resolve the same injection site. - Added binding equality coverage for ID-only and target-only qualifier ambiguity. - Updated binding qualifier and uniqueness documentation to describe inheritance-aware target matching and ambiguous binding conflicts. - Added changelog notes for version 1.0.6.
- Updated ID matching so injection sites with an ID only match bindings with the same `ToID`. - Updated binding conflict detection so ID-qualified and non-ID-qualified bindings are distinct. - Updated binding qualifier and uniqueness documentation for ID matching behavior. - Added changelog notes for the ID qualifier change.
- Clarified ID qualifier documentation in `InjectAttribute`, `AssetBindingBuilder`, and `ComponentBindingBuilder` summaries. - Refined `BindingNode` ID qualifier comparison logic to handle cases with or without qualifiers explicitly. - Added new tests for `BindingNodeEqualityTests` to validate equality and inequality based on ID and additional qualifiers.
…fiers - Added a new test for nested serializable object injection using `ToTarget<T>` and various ID bindings. - Updated `BindingNode` logic to use the actual owner type (instead of components) as the injection target for binding matches. - Standardized target type qualifiers across components and nested objects in `ComponentBindingBuilder` and `AssetBindingBuilder`. - Updated binding documentation and summaries to reflect the shift to owner object targeting. - Fixed ambiguous qualifier detection for nested, derived, and inherited targets.
alexanderlarsen
deleted the
feature/inject-base-class-with-inherited-target
branch
May 1, 2026 18:42
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
ToID(...)binding. Unqualified bindings only match injection sites without an ID.[Inject("id")]site previously relied on an unqualified binding, add.ToID("id")to the binding or remove the ID from the injection site.Fixes
ToTarget<T>matching for inherited and nested targets..ToTarget<Base>()now matches derived target types,.ToTarget<Derived>()also applies to inherited injection members on the same derived target, and nested serializable injection targets are matched by their nested owner type.