Skip to content

Commit 0474980

Browse files
committed
#51 - Add documentation reference into error message
1 parent 51a9cf8 commit 0474980

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

inject-generator/src/main/java/io/avaje/inject/generator/MetaDataOrdering.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ class MetaDataOrdering {
1313

1414
private static final String CIRC_ERR_MSG =
1515
"To handle circular dependencies consider using field injection " +
16-
"rather than constructor injection on one of the dependencies.";
16+
"rather than constructor injection on one of the dependencies. " +
17+
"\n See https://avaje.io/inject/#circular";
1718

1819
private final ProcessingContext processingContext;
1920

0 commit comments

Comments
 (0)