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)
WhereTargetIs
andWhereMemberNameIs
out of filter builders and into binding builders. Filters should constrain dependency candidates, while these methods constrain the injection target.ToTarget
andToMember
for clarity. Added overloads to support both singular and multiple qualifiers.Switch global bindings to dedicated GlobalBindingBuilder
GlobalBindingBuilder<TComponent>
to replaceComponentBindingBuilder
for global bindings.ToId
,ToTarget
,ToMember
) or.FromProxy()
, since globals are promoted into aSceneGlobalContainer
and proxies already resolve from the global scope.ComponentFilterBuilder<TComponent>
so filters work the same way.Scope
API 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