-
Notifications
You must be signed in to change notification settings - Fork 51
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 <[email protected]>
- Loading branch information
1 parent
302b789
commit af4b299
Showing
3 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
projects/qute/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