AdCodicem.ValueObjects.Abstractions
0.3.0-preview.403
Prefix Reserved
See the version list below for details.
dotnet add package AdCodicem.ValueObjects.Abstractions --version 0.3.0-preview.403
NuGet\Install-Package AdCodicem.ValueObjects.Abstractions -Version 0.3.0-preview.403
<PackageReference Include="AdCodicem.ValueObjects.Abstractions" Version="0.3.0-preview.403" />
<PackageVersion Include="AdCodicem.ValueObjects.Abstractions" Version="0.3.0-preview.403" />
<PackageReference Include="AdCodicem.ValueObjects.Abstractions" />
paket add AdCodicem.ValueObjects.Abstractions --version 0.3.0-preview.403
#r "nuget: AdCodicem.ValueObjects.Abstractions, 0.3.0-preview.403"
#:package AdCodicem.ValueObjects.Abstractions@0.3.0-preview.403
#addin nuget:?package=AdCodicem.ValueObjects.Abstractions&version=0.3.0-preview.403&prerelease
#tool nuget:?package=AdCodicem.ValueObjects.Abstractions&version=0.3.0-preview.403&prerelease
AdCodicem.ValueObjects.Abstractions
Dependency-free contracts for single-value DDD value objects: IValueObject<TSelf, TValue> with static abstract factories, allocation-free validation results, a runtime descriptor registry, and the DataAnnotations attributes [ParsesAs] and [NotDefault], which hold raw text and a value-object member to a value object's rules.
It is a package of AdCodicem.ValueObjects, single-value DDD value objects for .NET 10 and later: a readonly partial struct marked [ValueObject<T>] gets its whole implementation from a source generator, and crosses every boundary as
its underlying type. It works with the main package, which holds the generator:
dotnet add package AdCodicem.ValueObjects
dotnet add package AdCodicem.ValueObjects.Abstractions
- Documentation: https://adcodicem.github.io/AdCodicem.ValueObjects/
- Every released package, and what each integrates: https://adcodicem.github.io/AdCodicem.ValueObjects/docs/packages
- Every package of the next version, previews included: https://adcodicem.github.io/AdCodicem.ValueObjects/docs/preview/packages
- Changes: https://github.com/AdCodicem/AdCodicem.ValueObjects/blob/main/CHANGELOG.md
- Source and issues: https://github.com/AdCodicem/AdCodicem.ValueObjects
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- No dependencies.
NuGet packages (26)
Showing the top 5 NuGet packages that depend on AdCodicem.ValueObjects.Abstractions:
| Package | Downloads |
|---|---|
|
AdCodicem.ValueObjects
An answer to primitive obsession: single-value DDD value objects for .NET. Annotate a readonly partial struct with [ValueObject<T>] and get validation, normalization, parsing, formatting, comparison, JSON and type conversion generated with no reflection and no allocation. This is the package to install. |
|
|
AdCodicem.ValueObjects.Identifiers
Stripe-style public entity identifiers as value objects. Annotate a readonly partial struct with [EntityId("acc")] and get a prefixed, fixed-width, index-friendly identifier with a check character, generated with no reflection and no allocation beyond the value itself. |
|
|
AdCodicem.ValueObjects.Json
System.Text.Json support for AdCodicem value objects: a converter factory that covers source-generated serializer contexts and hand-written value objects, JsonSerializerOptions extensions, and a transform that describes each value object in the JSON Schema System.Text.Json exports. |
|
|
AdCodicem.ValueObjects.NewtonsoftJson
Newtonsoft.Json support for AdCodicem value objects, for interoperating with code, SDKs and message contracts that have not moved to System.Text.Json. |
|
|
AdCodicem.ValueObjects.EntityFrameworkCore
Entity Framework Core support for AdCodicem value objects: value converters and comparers that store the bare underlying value, plus a convention that maps every value object of an assembly in one call, keys generated the provider's way, .Value translated in LINQ queries to the column itself, and opt-in CHECK constraints from the rules each value object declares, a violated one reported with its rule code under UseValueObjectCheckErrors(). |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.3.0 | 435 | 10/29/2026 |
| 0.3.0-preview.425 | 201 | 10/27/2026 |
| 0.3.0-preview.403 | 63 | 10/25/2026 |
| 0.3.0-preview.322 | 302 | 10/19/2026 |
| 0.3.0-preview.283 | 218 | 10/12/2026 |
| 0.3.0-preview.248 | 115 | 10/5/2026 |
| 0.3.0-preview.205 | 112 | 10/4/2026 |
| 0.3.0-preview.197 | 114 | 10/3/2026 |
| 0.2.2-preview.0.172 | 118 | 10/3/2026 |
| 0.2.2-preview.0.144 | 117 | 10/2/2026 |
| 0.2.2-preview.0.143 | 108 | 10/2/2026 |
| 0.2.2-preview.0.138 | 138 | 10/2/2026 |
| 0.2.2-preview.0.137 | 122 | 10/2/2026 |
| 0.2.2-preview.0.136 | 118 | 10/2/2026 |
| 0.2.2-preview.0.135 | 111 | 10/1/2026 |
| 0.2.2-preview.0.100 | 122 | 10/1/2026 |
| 0.2.2-preview.0.2 | 117 | 9/30/2026 |
| 0.2.2-preview.0.1 | 112 | 9/30/2026 |
| 0.2.1 | 373 | 9/30/2026 |
| 0.2.1-preview.0.12 | 111 | 9/30/2026 |