-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
POCO2TS.exe to generate typed FormGroup of Angular #123
Comments
Typed form group declaration. |
properties of array and complex type may be skipped, for the sake of relational db. |
The design of FormGroup depends on many factors:
|
If you are using Reactive Forms, you may have been dreaming of generating a FormGroup from an interface/model rather than hand-crafting. I have created an proposal to the Angular team through angular/angular#52559 If you like this, please upvote to make it happen sooner. And I have created a code generator that can read .NET data models and generate interfaces along with functions of creating typed FormGroup which can be used in your Angular app with Reactive Forms: https://www.nuget.org/packages/Fonlow.WebApiClientGenCore.NG2FormGroup And the generated codes of a real world project is here: https://github.com/zijianhuang/DemoCoreWeb/blob/master/RealWorldExamples/PoetryManagementAndPublishing/WebApiNG2ClientAuto.ts |
feature done. |
There might be TS/JS program already doing so upon interfaces?
The text was updated successfully, but these errors were encountered: