Hi @dasiths, thank you for your work.
Just a question,
in /src/NEventLite/Repository/Repository.cs (the CreateNewInstance() method), is it necessary to force a public parameter-less constructor to be defined on the aggregate class?
Why not something like this?
return (TAggregate)Activator.CreateInstance(typeof(TAggregate), nonPublic: true);
Thank you in advance. I am new to Github so I am sorry if I am not doing this right.
Hi @dasiths, thank you for your work.
Just a question,
in /src/NEventLite/Repository/Repository.cs (the CreateNewInstance() method), is it necessary to force a public parameter-less constructor to be defined on the aggregate class?
Why not something like this?
return (TAggregate)Activator.CreateInstance(typeof(TAggregate), nonPublic: true);
Thank you in advance. I am new to Github so I am sorry if I am not doing this right.