MapStruct updater not compiling properly

I'm creating a REST API that handles product management. I currently have 3 Mapper (from MapStruct) for classes: Account, Product, and Variant. The branch I'm working on if you need to understand the structure: https://github.com/vianneynara/kuenyawz-api/tree/feature/21-initialize-product-variant-image TL;DR source codes: Entities: https://github.com/vianneynara/kuenyawz-api/tree/feature/21-initialize-product-variant-image/src/main/java/dev/realtards/kuenyawz/entities Patch DTOs: Account patch DTO Product patch DTO Variant patch DTO (the issue) Mapper interfaces: https://github.com/vianneynara/kuenyawz-api/tree/feature/21-initialize-product-variant-image/src/main/java/dev/realtards/kuenyawz/mapper The issue I'm having The mappers for Product and Variant does not generate properly except for Account are attached in the images (discord limit). The account generates it PROPERLY, but not for others.
No description
No description
4 Replies
JavaBot
JavaBot4w ago
This post has been reserved for your question.
Hey @circle! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
circle
circleOP4w ago
Forgot to add the generated Variant mapper:
No description
circle
circleOP4w ago
I have tried cleaning and recompiling, results the same. I've read the documentation here: https://mapstruct.org/documentation/stable/reference/html/#updating-bean-instances But it seems that I have followed the instructions WAIT AM I STUPID I FORGOT to add setters and getters on the patch DTOS? LOL Gonna keep this thread up until they pass the tests
JavaBot
JavaBot4w ago
Post Closed
This post has been closed by <@389034898666553344>.
Want results from more Discord servers?
Add your server