nuget.org : stringlytyped.valueobjects
This package contains a very simple implementation of a ValueObject in .NET. A ValueObject is a strongly typed (strongly, not stringly) domain object that is immutable. Instead of `int customerId = 42;` we have `var customerId = CustomerId.From(42);` Validation is in just one place. You can't introduce bad objects into your domain, therefore you can assume that in your domain every ValueObject is valid. Handy.
Registry
-
Source
- JSON
- codemeta.json
purl: pkg:nuget/stringlytyped.valueobjects
Keywords:
stringlytyped
, primitive
, obsession
, valuetype
, valuetypes
, valueobj
, valueobjects
, ddd
, validation
, value-object
License: Apache-2.0
Latest release: over 4 years ago
First release: over 4 years ago
Downloads: 2,892 total
Stars: 6 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 23 days ago