Open CastelloBrancoTecnologia opened 1 week ago
To generate private fields/properties, the TypeExtensions.WithMembersFilter()
method would have to be changed - it filters out non-public members.
Adding custom decorators is currently not supported and would require a more major change in the code.
Is there possible ? If not can you help me to implement it ?
Add typescripts decorators to generated typescript. Also support for private class fields.
generated class
Only genarate c# attributes that inherits from ValidatorAttribute to typescript decorators. All others attributes will be ignored. ErrorMessage attribute property will be translated to msg typescript decorator parameter