Skip to content

Conversation

@stephentoub
Copy link
Member

This is in support of hot reload, to be able to clear TypeConverter's reflection caches in response to types being patched. I'm not familiar with all the inner workings of TypeConverters, but this appears to be what's necessary to clear the reflection caches TypeConverter maintains; please let me know if I've missed something, or if this is problematic in other ways.

cc: @tommcdon, @pranavkm, @mikem8361

@ghost
Copy link

ghost commented Apr 18, 2021

Tagging subscribers to this area: @safern
See info in area-owners.md if you want to be subscribed.

Issue Details

This is in support of hot reload, to be able to clear TypeConverter's reflection caches in response to types being patched. I'm not familiar with all the inner workings of TypeConverters, but this appears to be what's necessary to clear the reflection caches TypeConverter maintains; please let me know if I've missed something, or if this is problematic in other ways.

cc: @tommcdon, @pranavkm, @mikem8361

Author: stephentoub
Assignees: -
Labels:

area-System.ComponentModel

Milestone: 6.0.0

Copy link
Member

@safern safern left a comment

Choose a reason for hiding this comment

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

Makes sense from what I understand how hot reload works.

…omponentModel/ReflectTypeDescriptionProvider.cs
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants