Skip to content

Commit 197cc62

Browse files
authored
update readme with nuget.org information
1 parent 5b45fa5 commit 197cc62

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

README.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,15 @@
22

33
Allows recursive validation of sub-objects in a class when using [DataAnnotations validation](https://docs.microsoft.com/en-us/aspnet/core/mvc/models/validation?view=aspnetcore-3.1) (also known as Attribute Validation). The current version of .NET Core's attribute validation does not handle objects within objects (or collections of objects). Therefore it is necessary to add some glue code to recurse through the object graph.
44

5-
## Nuget package
5+
## Installation
66

7-
TODO: (in progress)
7+
### .NET Core
8+
9+
$ dotnet add package RecursiveDataAnnotationsValidation
10+
11+
### Package Manager
12+
13+
PM> Install-Package RecursiveDataAnnotationsValidation
814

915
## Usage
1016

@@ -22,7 +28,11 @@ The [`[SkipRecursiveValidation]`](https://github.com/tgharold/RecursiveDataAnnot
2228

2329
## Build Status
2430

25-
![.NET Core Build-Test](https://github.com/tgharold/RecursiveDataAnnotationsValidation/workflows/.NET%20Core%20Build-Test/badge.svg) ![Create Release on Git Tag](https://github.com/tgharold/RecursiveDataAnnotationsValidation/workflows/Create%20Release%20on%20Git%20Tag/badge.svg)
31+
![.NET Core Build-Test](https://github.com/tgharold/RecursiveDataAnnotationsValidation/workflows/.NET%20Core%20Build-Test/badge.svg)
32+
33+
## Nuget Page
34+
35+
https://www.nuget.org/packages/RecursiveDataAnnotationsValidation/
2636

2737
## Legacy
2838

0 commit comments

Comments
 (0)