GithubHelp home page GithubHelp logo

Comments (7)

xco-sk avatar xco-sk commented on June 7, 2024 1

+1 same issue in Idea plugin v1.1.0

from mapstruct-idea.

filiphr avatar filiphr commented on June 7, 2024

@drej1 just to make it clearer. The Unmapped target property comes only from the plugin? When you run a normal compilation via your own build tool is the warning there?

from mapstruct-idea.

drej1 avatar drej1 commented on June 7, 2024

Hi @filiphr, yes we have unmappedTargetPolicy = ReportingPolicy.ERROR and it compiles. For example, if I remove the annotation @Mapping(target = "isAdded", constant = "true") the build fails with compilation error.
So it is problem only of the plugin

from mapstruct-idea.

drej1 avatar drej1 commented on June 7, 2024

Hi @filiphr, did you have time to take a look on this?
Thanks :)

from mapstruct-idea.

filiphr avatar filiphr commented on June 7, 2024

@drej1 sorry for the late reply no I haven't had time to look into this. However, I think I know what the problem is. Will need to write a test to be able to fix it.

Might take some time. You are also welcome to help with a PR if you want to :)

from mapstruct-idea.

filiphr avatar filiphr commented on June 7, 2024

This is now fixed on master. Apart from the warning the property was also reported twice. This is now fixed and follows the same principle as the DefaultAccessorNamingStrategy

from mapstruct-idea.

drej1 avatar drej1 commented on June 7, 2024

@filiphr thanks!
Sorry I didn't have time to check the plugin implementation and couldn't help with the fix.

When 1.2.0 will be out, we will test this.
Thanks!

from mapstruct-idea.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.