Saneject 0.13.0 (beta) #35
alexanderlarsen
announced in
Releases
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Changes
Make binding ID a qualifier with multiple match support
.ToId("A", "B")and the binding will match if any of the IDs match, just like the other qualifiers.Introduce target qualifier methods (ToTarget, ToMember)
WhereTargetIsandWhereMemberNameIsout of filter builders and into binding builders. Filters should constrain dependency candidates, while these methods constrain the injection target.ToTargetandToMemberfor clarity. Added overloads to support both singular and multiple qualifiers.Switch global bindings to dedicated GlobalBindingBuilder
GlobalBindingBuilder<TComponent>to replaceComponentBindingBuilderfor global bindings.ToId,ToTarget,ToMember) or.FromProxy(), since globals are promoted into aSceneGlobalContainerand proxies already resolve from the global scope.ComponentFilterBuilder<TComponent>so filters work the same way.ScopeAPI and tests to use the new builder forBindGlobal<T>().This discussion was created from the release Saneject 0.13.0 (beta).
Beta Was this translation helpful? Give feedback.
All reactions