In https://github.com/ia3andy/quarkus-blast/blob/aa969f34616ec63be0268fee20a40097d2ec1ba4/src/main/resources/templates/layout/page.html#L11 the crsfis marked as Undefined. This inject is defined in https://github.com/quarkusio/quarkus/blob/4f843d57f97048fc5fc499dab2ba1fdd1549d48d/extensions/csrf-reactive/runtime/src/main/java/io/quarkus/csrf/reactive/runtime/CsrfTokenParameterProvider.java#L13 I think the problems comes from our isValidBean method It is because https://github.com/redhat-developer/quarkus-ls/blob/dd9791a7c6ea74ca7ac7ef95ec69d9b6acee32cf/qute.jdt/com.redhat.qute.jdt/src/main/java/com/redhat/qute/jdt/utils/CDIUtils.java#L77 which should respect the spec https://jakarta.ee/specifications/cdi/3.0/jakarta-cdi-spec-3.0#what_classes_are_beans (the only thing that we don't support is the @Inject inconstructor parameter). But when I read https://jakarta.ee/specifications/cdi/3.0/jakarta-cdi-spec-3.0#what_classes_are_beans the https://github.com/quarkusio/quarkus/blob/4f843d57f97048fc5fc499dab2ba1fdd1549d48d/extensions/csrf-reactive/runtime/src/main/java/io/quarkus/csrf/reactive/runtime/CsrfTokenParameterProvider.java#L13 have a construcor parameter (it should not be a proper bean). Perhaps it misses Inject for the construr parameter? @ia3andy have you some idea?
In https://github.com/ia3andy/quarkus-blast/blob/aa969f34616ec63be0268fee20a40097d2ec1ba4/src/main/resources/templates/layout/page.html#L11 the crsfis marked as Undefined.
This inject is defined in https://github.com/quarkusio/quarkus/blob/4f843d57f97048fc5fc499dab2ba1fdd1549d48d/extensions/csrf-reactive/runtime/src/main/java/io/quarkus/csrf/reactive/runtime/CsrfTokenParameterProvider.java#L13
I think the problems comes from our isValidBean method It is because
quarkus-ls/qute.jdt/com.redhat.qute.jdt/src/main/java/com/redhat/qute/jdt/utils/CDIUtils.java
Line 77 in dd9791a
which should respect the spec https://jakarta.ee/specifications/cdi/3.0/jakarta-cdi-spec-3.0#what_classes_are_beans
(the only thing that we don't support is the @Inject inconstructor parameter).
But when I read https://jakarta.ee/specifications/cdi/3.0/jakarta-cdi-spec-3.0#what_classes_are_beans the https://github.com/quarkusio/quarkus/blob/4f843d57f97048fc5fc499dab2ba1fdd1549d48d/extensions/csrf-reactive/runtime/src/main/java/io/quarkus/csrf/reactive/runtime/CsrfTokenParameterProvider.java#L13 have a construcor parameter (it should not be a proper bean). Perhaps it misses Inject for the construr parameter?
@ia3andy have you some idea?