mapstruct / mapstruct/mapstruct-idea

When using Jimmer, the plugin fails to correctly identify the entity's properties.

Open
#274 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
168
Forks
41
PR merge metrics
No merged PRs in 30d

Description

Steps to reproduce

Create a Jimmer entity.

Create an ordinary Java DTO.

Use MapStruct to perform the conversion.

Expected result

When writing target or source, the properties in the entity should be recognized.

Actual result

The properties in the Jimmer entity cannot be recognized.

Image It should be able to generate the corresponding mapping method.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with a Jimmer entity, an ordinary Java DTO, and a MapStruct conversion, then inspect how the plugin recognizes entity properties for source and target mappings. Confirm the fix by verifying that the corresponding mapping method can be generated without property-recognition errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.