SmartEnum icon indicating copy to clipboard operation
SmartEnum copied to clipboard

Could we consider this smart enum type as a value object?

Open mehdihadeli opened this issue 4 years ago • 1 comments

Hi @ardalis, Could we treat this smart enum type as a value object?

mehdihadeli avatar Apr 18 '21 14:04 mehdihadeli

Hi @mehdihadeli

Yes, to my understanding SmartEnum's are nothing more than Value Objects because they behave exactly like them in terms of comparing, creating, etc. 🙂

DenisBalan avatar May 19 '23 11:05 DenisBalan