AxonFramework / IdeaPlugin

An IntelliJ IDEA plugin for Axon Framework
Apache License 2.0
34 stars 21 forks source link

[#307] Axon plugin gives false highlights about non existing properties when they are defined in a superclass #306

Closed guymahieu closed 1 month ago

guymahieu commented 1 month ago

In our project we get warnings on SagaEventHandlers that rely on an associationProperty from a superclass of the messsage. This works in Axon but is indicated as a problem by the plugin.

This PR fixes that for the SagaEventHandlers, but there are probably other cases where this applies (routingKeys?). We do not have this case in our project at the moment, so I did not change that.

This pull request resolves #307.

smcvb commented 1 month ago

@CodeDrivenMitch, I think what @guymahieu provided is fine. Would you mind giving your opinion as well?