-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: allow inject: with constructor class which have arguments
Signed-off-by: azerr <azerr@redhat.com>
- Loading branch information
1 parent
7b0c9c6
commit 51aa262
Showing
3 changed files
with
30 additions
and
15 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
qute.jdt/com.redhat.qute.jdt.test/projects/maven/quarkus3/src/main/java/org/acme/Bean3.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package org.acme; | ||
|
||
public class Bean3 { | ||
|
||
// Quarkus can inject Bean1 in the constructor without declaring the bean1 parameter with @Inject | ||
public Bean3(Bean1 bean1) { | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters