lucabriguglia / OpenCQRS

.NET Standard framework to create simple and clean design. Advanced features for DDD, CQRS and Event Sourcing.
Apache License 2.0
3 stars 115 forks source link

Is Source field intended for generic logging? #78

Closed rulrok closed 4 years ago

rulrok commented 4 years ago

Hi

I don't see a particular usage on Kledex code per se, so I'm assuming I could use it for putting any information I'd like.

They are located in IDomainCommand and IDomainEvent.

I'm planning to use that for logging user IP, browser version, etc.

Is that so?

lucabriguglia commented 4 years ago

Hi, it was meant to be used for the source of the command and therefore of the events (e.g. api 1, api 2, site 1, site 2, etc...)

lucabriguglia commented 4 years ago

Closing as it has not been active for a while.