Minimum need data to create an Entity
My entity:
My DTO:
The questions are:
1) Do I need that much data just to create a Book?
Maybe should I only have "Name" and have the entity populated
with PUT/PATCHES later?
2) What could be done better?
AuthorIds, FilesIds are obtained by a prior GET request on these resources on the frontend and mapped to the Author and DownloadableFile entites later in a CreateBookHandler
Thank you
0 Replies