Skip to content

Commit 7b2d3ad

Browse files
a-simeshinST-DDT
andauthored
Update docs/en/client/configuration.md
Co-authored-by: ST-DDT <[email protected]>
1 parent 47771e5 commit 7b2d3ad

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

docs/en/client/configuration.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,11 @@ the channels, stubs and other components without losing the features provided by
118118

119119
### GrpcClientBean
120120

121-
This should significantly help with `@Autowire` and `@Qualifier` because default annotation `@GrpcClient` is
122-
not designed for usage with spring 'injection' annotations. `@GrpcClientBean` require annotation `@Cofiguration`.
123-
It is definitely not recommended using `@GrpcClientBean` and field annotated with `@GrpcClient` for same
124-
configuration class, but it's still possible.
121+
This annotation is used to create injectable beans from your otherwise non-injectable `@GrpcClient` instances.
122+
The annotation can be repeatedly added to any of your `@Configuration` classes.
123+
124+
> **Note:** We recommend using either `@GrpcClientBean`s or fields annotated with `@GrpcClient` throughout your
125+
> application, as mixing the two might cause confusion for future developers.
125126
126127
````java
127128
@Configuration

0 commit comments

Comments
 (0)