Skip to content

Commit

Permalink
feat(generator): flatten model properties (#5094)
Browse files Browse the repository at this point in the history
* feat(generator): flatten model properties

This commit will flatten the model property in generator, instead of in the emitter.

- change model json converter to calculate flatten names during deserialization
- make flattened child property optional if its parent property is optional
- refactor

resolve #4449

---------

Co-authored-by: Mingzhe Huang (from Dev Box) <[email protected]>
  • Loading branch information
archerzz and Mingzhe Huang (from Dev Box) authored Oct 10, 2024
1 parent 7512aa3 commit ca8310c
Show file tree
Hide file tree
Showing 93 changed files with 1,849 additions and 265 deletions.
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ca8310c

Please sign in to comment.