Join Slack
Powered by
How do you usually do mapping between a bunch of d...
# getting-started
g
Gabriel Luchtenberg
02/01/2023, 8:31 PM
How do you usually do mapping between a bunch of different classes? Like, I have a DTO class, a Domain class, a DB entity class, and a couple more, they’re all similar, but not exactly the same, and writing every mapper has proven to be painful
r
Robert Jaros
02/01/2023, 8:47 PM
You could try
https://shapeshift.krud.dev/
🙏 1
j
Jakub Syty
02/01/2023, 10:09 PM
If you want maximum performance then MapStruct or it's young relative kmapper:
https://github.com/s0nicyouth/kmapper
🙏 1
g
Gabriel Luchtenberg
02/02/2023, 12:26 PM
tks, gonna check it 🙏
37
Views
Open in Slack
Previous
Next