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

[Breaking] Removed auto initialize for nav parameters #2214

Merged
merged 2 commits into from
Oct 15, 2020

Conversation

brianlagunas
Copy link
Member

@brianlagunas brianlagunas commented Oct 15, 2020

Description of Change

I have removed the reflection based auto initialize for navigation parameters feature.

API Changes

List all API changes here (or just put None), example:

Removed:

  • IAutoInitialize
  • AutoInitializeAttribute

Behavioral Changes

If your code used this feature, it will no longer work. If you would still like to have this feature, you can contact @dansiegel about gaining access to his new Prism tooling called Magician which does this using a much better approach.

PR Checklist

  • Has tests (if omitted, state reason in description)
  • Rebased on top of master at time of PR
  • Changes adhere to coding standard

@brianlagunas brianlagunas changed the title removed auto initialize for nav parameters [Breaking] Removed auto initialize for nav parameters Oct 15, 2020
@brianlagunas brianlagunas added this to the Prism 8.0 milestone Oct 15, 2020
@brianlagunas brianlagunas merged commit fe087bb into master Oct 15, 2020
@brianlagunas brianlagunas deleted the remove-auto-stuff branch October 15, 2020 15:24
@PhilJenson
Copy link

Why was this removed?

@dansiegel
Copy link
Member

@PhilJenson this added a reflection lookup cost to every app & thus a perf hit that we really wanted to get rid of. The Magician accomplishes this intelligently at build time with Source Generation keeping you from having to write the boiler plate. If you're interested in that it's available to Sponsors on SponsorConnect.

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