Skip to content

Saneject 1.1.0

Choose a tag to compare

@alexanderlarsen alexanderlarsen released this 01 May 18:43
· 9 commits to main since this release
bac0362

Changes

  • ID-qualified injection sites now require a matching ToID(...) binding. Unqualified bindings only match injection sites without an ID.
  • If an [Inject("id")] site previously relied on an unqualified binding, add .ToID("id") to the binding or remove the ID from the injection site.

Fixes

  • Fixed 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.
  • Fixed binding validation for duplicate or ambiguous qualifier combinations that could resolve the same injection site.