Replies: 1 comment
-
The organization of files is largely a matter of personal preference and the project size. I aim to strike a balance between the extremes of having one file per model and of putting everything into a single file. Here's my general approach:
Ultimately, there’s no right or wrong way to organize files—choose what works best for your project. I hope this approach provides some useful ideas! |
Beta Was this translation helpful? Give feedback.
-
Just I started to use TypeSpec in my project. Currently tsp files are separated for each models.
But I am wondering models to be in one file or not.
Pros.
Cons.
I would appreciate someone give me any advice / experience for tsp file separation. Also any file structure for TypeSpec is welcome.
Beta Was this translation helpful? Give feedback.
All reactions