-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Binding SG] Use Binding.Create internally in MAUI #23722
Merged
rmarinho
merged 7 commits into
dotnet:net9.0
from
simonrozsival:use-binding-create-in-product
Aug 13, 2024
Merged
[Binding SG] Use Binding.Create internally in MAUI #23722
rmarinho
merged 7 commits into
dotnet:net9.0
from
simonrozsival:use-binding-create-in-product
Aug 13, 2024
Conversation
This file contains 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
simonrozsival
force-pushed
the
use-binding-create-in-product
branch
3 times, most recently
from
July 23, 2024 18:09
bbf57d9
to
cb80c71
Compare
simonrozsival
requested review from
PureWeen,
tj-devel709,
jonathanpeppers,
jkurdek and
StephaneDelcroix
July 23, 2024 18:11
jkurdek
previously approved these changes
Jul 24, 2024
jonathanpeppers
previously approved these changes
Jul 24, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me, but I reran some tests to see if we could get a greener CI run.
simonrozsival
force-pushed
the
use-binding-create-in-product
branch
from
August 12, 2024 16:17
628e441
to
d34016e
Compare
@rmarinho @jonathanpeppers @PureWeen the failing tests are unrelated to this PR. Could we merge this PR now? |
samhouts
added
the
fixed-in-net9.0-nightly
This may be available in a nightly release!
label
Aug 27, 2024
samhouts
added
the
fixed-in-net8.0-nightly
This may be available in a nightly release!
label
Dec 16, 2024
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
fixed-in-net8.0-nightly
This may be available in a nightly release!
fixed-in-net9.0-nightly
This may be available in a nightly release!
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.
Description of Change
This PR fixes several oversights in the initial PR that introduced the
Binding.Create
method (#23239) that I found while dogfooding the new API:Binding
toBindingBase
. This is necessary to avoid trim analyzer warnings, the[UnconditionalSuppressMessage]
didn't work the way I originally thought it would. It is still possible to callBinding.Create(...)
and this call will be intercepted.Besides the fixes, I replaces all the usages of
TypedBinding.ForSingleNestingLevel
that aren't used alongsideSetBinding
with the new API. TheForSingleNestingLevel
method will be completely removed in a later PR.Issues Fixed
Contributes to #22384
Depends on #23393 -
needs rebasing after this PR is merged