-
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
Get rid of @Inject for @ConfigProperty #1315
Comments
mkouba
changed the title
Get rid of
Get rid of @Inject for @ConfigProperty
Mar 7, 2019
@Inject
for @ConfigProperty
This makes sense to me as well. FWIW in Spring you only need |
manovotn
added a commit
to manovotn/quarkus
that referenced
this issue
Mar 18, 2019
geoand
added a commit
to geoand/quarkus
that referenced
this issue
Mar 18, 2019
quarkusio#1554 made it redundant to have @Inject on a @ConfigProperty Follows up on: quarkusio#1315
geoand
added a commit
to geoand/quarkus
that referenced
this issue
Mar 18, 2019
quarkusio#1554 made it redundant to have @Inject on a @ConfigProperty Follows up on: quarkusio#1315
vorburger
added a commit
to vorburger/quarkus
that referenced
this issue
Mar 18, 2019
* master: (167 commits) Allow for usage of @ConfigProperty on fields without the need for @Inject. Fixes quarkusio#1315. Expose all flavors (core, axle, rx) of Vert.x EventBus RestClient - passing incoming JAX-RS headers, fixes quarkusio#1017 JAX-RS body writers for Vert.x JsonObject and JsonArray Increase CI memory PathTestHelper should accept default Gradle build paths now + make sure we run the test in gradle-it Change to use ./mvnw Update opentracing guide to describe using application.properties as alternative to env vars fix npe in dev mode when source is missing in recompilation diagnostic Add the quarkus-elytron-security component in the BOM Moves the logic that handles the registration of schema class for serialization in smallrye-openapi-extension Add Maven Wrapper to generated projects [security extension] - AuthConfig only configured if IdentityManager is produced quarkusio#1522 Warning to keep H2 version as is Minor corrections to mx and git repo clone instructions. programmatic client generation for MP Rest Client, fixes quarkusio#1317 Hibernate ORM - Fix config property name in error message Camel - Use a constant for Camel root package directory Micro version updates JAX-RS Generate reflection declaration from MP OpenAPI schema definition ...
maxandersen
pushed a commit
to maxandersen/quarkus
that referenced
this issue
Nov 5, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since
@ConfigProperty
is used only for injecting configuration values, it seems redundant to require user to add@Inject
with it.This issue is to make
@Inject
optional for@ConfigProperty
'sThe text was updated successfully, but these errors were encountered: