andrebaltieri / Flunt

Validations and Notifications
https://github.com/andrebaltieri/flunt
MIT License
626 stars 162 forks source link

Issue #9 - Validating if _notifications is null, and initializing it #10

Closed Brunogr closed 5 years ago

Brunogr commented 6 years ago

in some cases the class is created by reflection and _notifications is not instantiated on constructor.

andrebaltieri commented 6 years ago

Hi Bruno, can you please provide some samples?

Brunogr commented 6 years ago

ok, i'll prepare an example using mongoDB Driver and i'll send you

carloscpossa commented 6 years ago

Hi, Bruno!

I am using Flunt with MongoDb Driver and i don't have problem. However, the constructors of my classes (entities, value objects, ...) extends the constructors of the base class (Notifiable).

andrebaltieri commented 5 years ago

Closing the issue since no more information was provided!