Use ReflectionMagic and get rid of InfrastructureCrap.DontBotherReadingItsNotImportant.cs
JohannesHoppe opened this issue · 2 comments
JohannesHoppe commented
see the evil this.AsDynamic()
which is used to call one of the Apply()
methods of the aggregate root (in our case InventoryItem.Apply()
)
@davidebbo (author of the referenced blogpost) developed this to a full nuget package:
https://github.com/davidebbo/ReflectionMagic
we should use this and get rid of InfrastructureCrap.DontBotherReadingItsNotImportant.cs
😄
gregoryyoung commented
This is not an attempt at creating a framework you can reuse, it is an example of how things can work.
JohannesHoppe commented
I see! ;-)