Skip to content

Commit

Permalink
add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminAbt committed Jun 2, 2024
1 parent c73373a commit 50a8d59
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<IsPackable>false</IsPackable>
<PackageProjectUrl>https://github.com/BenjaminAbt/StrongOf</PackageProjectUrl>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<Description>Primitive Obsession with .NET</Description>
<Description>StrongOf - Strong Type your stuff and fight primitive Obsession with .NET</Description>
<MinClientVersion>2.12</MinClientVersion>
<PackageTags>Strong, StrongOf, DDD, Value Objects, Domain Driven Design</PackageTags>
<IsPackable>false</IsPackable>
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ In contrast to other approaches, StrongOf is above all simple and performant - a

## Why?

Wrapping in a class is necessary because C# unfortunately still does not support [type abbreviations](https://learn.microsoft.com/en-us/dotnet/fsharp/language-reference/type-abbreviations).
This library was developed because C# did not support [type abbreviations](https://learn.microsoft.com/en-us/dotnet/fsharp/language-reference/type-abbreviations) up to and including version 12.

With C# 13 we finally get [Extension Types](https://devblogs.microsoft.com/dotnet/dotnet-build-2024-announcements)!

See GitHub proposal: [Proposal: Type aliases / abbreviations / newtype](https://github.com/dotnet/csharplang/issues/410)

Expand Down

0 comments on commit 50a8d59

Please sign in to comment.