-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ConfigMapping and CDI error #18524
Labels
Milestone
Comments
Does it work without the |
cc @radcortez |
OK thanks for confirming. I see what's going on, I'll fix it soon |
#18533 fixes the issue |
gastaldi
added a commit
that referenced
this issue
Jul 9, 2021
Allow injection of entire interface hierarchy when using @ConfigMapping
Thanks for the fast turnaround @geoand |
gsmet
pushed a commit
to gsmet/quarkus
that referenced
this issue
Jul 12, 2021
Fixes: quarkusio#18524 (cherry picked from commit 0dc3171)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Describe the bug
When switching from the Deprecated
io.quarkus.arc.config.ConfigProperties
toio.smallrye.config.ConfigMapping
as described in the javadoc we get CDI errorsExpected behavior
Expected behaviour is behaviour prior to the change. All beans are injected correctly
Actual behavior
the class
no longer gets injected in constructors like:
with errors like:
To Reproduce
or projectnessie/nessie#1563
Environment (please complete the following information):
Output of
uname -a
orver
Linux xxx 5.4.0-77-generic #86-Ubuntu SMP Thu Jun 17 02:35:03 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Output of
java -version
openjdk version "11.0.11" 2021-04-20
OpenJDK Runtime Environment (build 11.0.11+9-Ubuntu-0ubuntu2.20.04)
OpenJDK 64-Bit Server VM (build 11.0.11+9-Ubuntu-0ubuntu2.20.04, mixed mode, sharing)
GraalVM version (if different from Java)
Quarkus version or git rev
2.0.0.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.8.1 (05c21c65bdfed0f71a2f2ada8b84da59348c4c5d)
Maven home: /home/xxx/.m2/wrapper/dists/apache-maven-3.8.1-bin/2l5mhf2pq2clrde7f7qp1rdt5m/apache-maven-3.8.1
Java version: 11.0.11, vendor: Ubuntu, runtime: /usr/lib/jvm/java-11-openjdk-amd64
Default locale: en_GB, platform encoding: UTF-8
OS name: "linux", version: "5.4.0-77-generic", arch: "amd64", family: "unix"
The text was updated successfully, but these errors were encountered: