You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: make QuarkusControllerConfiguration RecordableConstructor-enabled
This requires:
- each constructor parameter needs to have an associated getter with the
exact same name and type
- for constructor params to be discovered by Quarkus, Maven compiler
parameters support needs to be activated
See https://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#parameters
For some reason, just setting the property wasn't enough, had to
configure the compiler plugin directly
- a recent Maven compiler plugin, by default, you get 3.1 which doesn't
support this option
Copy file name to clipboardExpand all lines: quarkus-extension/deployment/src/main/java/io/javaoperatorsdk/quarkus/extension/deployment/QuarkusExtensionProcessor.java
Copy file name to clipboardExpand all lines: quarkus-extension/runtime/src/main/java/io/javaoperatorsdk/quarkus/extension/QuarkusControllerConfiguration.java
+22-6Lines changed: 22 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -17,24 +17,40 @@ public class QuarkusControllerConfiguration<R extends CustomResource> implements
0 commit comments