schafevormfenster / community-site

community-site-phi.vercel.app
0 stars 0 forks source link

Add proper if null checks on a mapping level #30

Closed schafevormfenster closed 3 years ago

schafevormfenster commented 3 years ago

Within the rendering a lot of if null checks appear, which makes the code dirty and the software unstable.

It would be better to have most attributes in the entities required and set default values already within the mapping from dto to entity.