You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Abstract classes and their implementations can obviously be from different assemblies, not sure what a clean way to handle that would be. Maybe something like this would work:
If the old implementation type is from the assembly we're swapping out, attempt to get a class of the same name from the new assembly and instantiate that
Else, just make a new instance of the old implementation type (It's probably from some .NET or Mocha assembly or something)
Just spitballing though
The text was updated successfully, but these errors were encountered:
MuffinTastic
changed the title
Hotloading an abstract class throws an exception
Hotloading throws when upgrading abstract classes
Jan 26, 2023
MuffinTastic
changed the title
Hotloading throws when upgrading abstract classes
Hotloading throws when upgrading instances of abstract classes
Jan 26, 2023
Reproduction
Notes
Abstract classes and their implementations can obviously be from different assemblies, not sure what a clean way to handle that would be. Maybe something like this would work:
Just spitballing though
The text was updated successfully, but these errors were encountered: