Skip to content
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

Angular (nx) proxy generator doesnt respect nullability #20239

Open
puschie286 opened this issue Jul 17, 2024 · 0 comments
Open

Angular (nx) proxy generator doesnt respect nullability #20239

puschie286 opened this issue Jul 17, 2024 · 0 comments
Assignees

Comments

@puschie286
Copy link

puschie286 commented Jul 17, 2024

Description

generated model interfaces by the (nx) proxy generator have all properties marked as optional - regardless of c# property nullability or [Required] attribute

Expected behavior

Typescript interface properties have same nullability as the C# (dto) class

Actual behavior

all typescript interface properties are nullable

Known Workarounds

For non-abp code, you can manual change it after each proxy generation

Version

8.1.3

@puschie286 puschie286 added the bug label Jul 17, 2024
@puschie286 puschie286 changed the title Angular (nx) proxy generator doesnt respect nullable Angular (nx) proxy generator doesnt respect nullability Jul 17, 2024
@masum-ulu masum-ulu self-assigned this Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants