Comments (5)
Can you perhaps send me the @Mapping
annotation where this occurs?
from mapstruct-idea.
I have a few mappers in my project but I'm not event touching them. It just happens.
But I can give you one of the mappers:
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import pt.ipb.creditacao.entities.IpbAlunos;
import pt.ipb.creditacao.shared.domain.Aluno;
@Mapper
public interface AlunosMapper {
@Mapping(target = "bi", source = "biN")
@Mapping(target = "codigoPostal", source = "codPostal")
Aluno toAluno(IpbAlunos a);
}
from mapstruct-idea.
@natros I found the issue. The issue happens if you have methods that are less than 3 characters. I have a fix ready, but will push it later today. I'll also publish 1.0.1 with this fix.
This has problems now:
public String so() {
return null;
}
from mapstruct-idea.
thanks
from mapstruct-idea.
@natros the fix has been released. There should be an updated available as soon as it gets approved by Jetbrains.
Thanks a lot for the bug report.
from mapstruct-idea.
Related Issues (20)
- Fix build with ideaVersion `LATEST-EAP-SNAPSHOT` HOT 3
- Fix workaround for getting the mockJDK annotations.jar in the gradle build HOT 1
- Code completion doesn't work with lombok @SuperBuilder annotation HOT 3
- Unmapped target properties warning is missing if source is a Java record HOT 5
- Auto completion for InheritConfiguration#name, InheritInverseConfiguration#name HOT 1
- Disable unmapped target property warnings when implicitly mapping from a map HOT 2
- Completion for properties don't work (both target and source) HOT 2
- Array and Map paramter ignored as source-parameter if used as only source
- Java expression HOT 1
- Report Non-existing target properties as errors HOT 1
- WrongUsageOfMappersFactoryInspection ignores if componentModel is defined in MapperConfig HOT 1
- IDE Support of `BeanMapping#ignoredTargets`
- Code Completion didn't work well. HOT 12
- Wrong usage of mappers factory should be able to remove static initializer
- code wraps automatically, does not recognize keywords HOT 1
- Incompatible with idea 2024.1 RC HOT 4
- Plugin reports "Can't find related attribute" warning when using `source="."` HOT 2
- Code completion: mapTo... suggestions take precedence over more useful suggestions HOT 6
- Code completion for annotation parameters like @Mapping is not working HOT 5
- False positive missing mapping warning HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mapstruct-idea.