Skip to content
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

Made Path/PathIcon.Data nullable #14720

Merged
merged 1 commit into from
Feb 24, 2024

Conversation

MrJul
Copy link
Member

@MrJul MrJul commented Feb 23, 2024

What does the pull request do?

This PR changes Path.Data and PathIcon.Data to be nullable, as their default value is null, and these controls perfectly handle not having any geometry.

Breaking changes

It's a source breaking change for code bases with enabled nullability.
The binary interface stays compatible though.

@avaloniaui-bot
Copy link

You can test this PR using the following package version. 11.1.999-cibuild0045283-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@maxkatz6 maxkatz6 added this pull request to the merge queue Feb 24, 2024
Merged via the queue into AvaloniaUI:master with commit ca4a672 Feb 24, 2024
6 checks passed
@MrJul MrJul deleted the fix/path-data-nullability branch February 29, 2024 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants