RicoSuter/NJsonSchema

Retain data validation annotation attributes in model generation

Aperta

#1011 aperta il 22 set 2016

 (24 commenti) (6 reazioni) (0 assegnatari)C# (549 fork)github user discovery
help wantedproject: NJsonSchema.CodeGeneration.TypeScripttype: enhancement

Metriche repository

Star
 (1581 stelle)
Metriche merge PR
 (Merge medio 39g 6h) (1 PR mergiata in 30 g)

Descrizione

Attributes such as [Required], [Range], [StringLength(5)] from the System.ComponentModel.DataAnnotations namespace should be retained in the generated client side models so validation can be performed.

Guida contributor