aerie icon indicating copy to clipboard operation
aerie copied to clipboard

@WithMappers does not work in procedural scheduling

Open adrienmaillard opened this issue 3 months ago • 0 comments

Checked for duplicates

Yes - I've already checked

Is this a regression?

No - This is a new bug

Version

develop

Describe the bug

I was trying to add a record parameter to an e2e.procedural.scheduling scheduling procedure to test a new feature. I added a custom value mapper class for that new record parameter and added it with a @WithMappers annotation in the package-info.java

When trying to build e2e tests, I got an error AllMappers.value() is defined in an inaccessible class or interface@WithMappers(BasicValueMappers.class)

Then, I removed this new record parameter and tried removing both @WithMappers annotations from the package-info.java and it compiled. This means that the value mappers for the procedure have been found somewhere else and that the annotations are not taken into account.

Reproduction

In e2e.procedural.scheduling package.info.java, remove the @WithMappers annotation and try compiling. It will compile.

Logs


System Info

Mac, Intellij

Severity

Moderate

adrienmaillard avatar Sep 11 '25 18:09 adrienmaillard