You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm not sure if I'm doing something wrong somewhere. When i generate CRUD in my razor pages, it creates to sub folder per class in the pages folder. e.g
Class: Person then it will create
Pages => Person > Person (Index, Create, Edit)
How can I stop this from happening?
Thanks
Zak
The text was updated successfully, but these errors were encountered:
I agree that the second "Person" folder is redundant.
Files of aggregate root (Person) are better placed in Pages/Persons.
We could place files of sub-entities (like PersonPet) in Pages/Persons/PersonPets.
If you want, you are welcome to create a PR to do these changes:
Change the folder structure as described above.
Implement the sub-entity management UI generation. It's different from the UI of an aggregate root. For example, we should use persons.person.get(id).pets instead of persons.personPet.getList().
Hi,
I'm not sure if I'm doing something wrong somewhere. When i generate CRUD in my razor pages, it creates to sub folder per class in the pages folder. e.g
Class: Person then it will create
Pages => Person > Person (Index, Create, Edit)
How can I stop this from happening?
Thanks
Zak
The text was updated successfully, but these errors were encountered: