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

Return view locator #203

Merged
merged 5 commits into from
Jun 14, 2023
Merged

Return view locator #203

merged 5 commits into from
Jun 14, 2023

Conversation

Takoooooo
Copy link
Contributor

No description provided.

@Takoooooo Takoooooo marked this pull request as draft June 12, 2023 19:49
@@ -91,6 +91,13 @@
"defaultValue": "true",
"isEnabled": "(AvaloniaVersion != \"0.10.21\")"
},
"RemoveViewLocator": {
"type": "parameter",
"description": "Defines if your app will use default ViewLocator made by Avalonia Team or you are planning to use custom one. Removing ViewLocator may be useful in AOT scenarios. Default ViewLocator is not AOT-friendly.",
Copy link
Member

@maxkatz6 maxkatz6 Jun 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"description": "Defines if your app will use default ViewLocator made by Avalonia Team or you are planning to use custom one. Removing ViewLocator may be useful in AOT scenarios. Default ViewLocator is not AOT-friendly.",
"description": "Defines if your app will use default ViewLocator made by Avalonia Team or you are planning to use a custom one. Removing ViewLocator may be useful in code trimming scenarios. Default ViewLocator is not trimming-friendly.",

Here and in other places too.
I would suggest disabling this property by default in 11.0 version, but I am tired to argue about view-locator.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you mean enabling? It is already disabled by default

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, enabling "--remove-view-locator". Or disabling view locator in other words.

@Takoooooo Takoooooo marked this pull request as ready for review June 14, 2023 13:43
@Takoooooo Takoooooo merged commit 92e0749 into master Jun 14, 2023
@Takoooooo Takoooooo deleted the return-viewLocator branch June 14, 2023 13:43
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.

2 participants