Decouple Database Models from API Response Models
Closed this issue · 1 comments
Arthi-chaud commented
There is a very strong coupling between the DB models and API responses. This leads to some overhead, e.g. Response Builders.
- There should be API-Specific models, uncoupled from the DB models
- We could then remove the dependency to the prisma swagger model generator
- We should not need Response Builders for Illustrations
Arthi-chaud commented
Closes, since the synchronous response builders now makes this more acceptable