Skip to content

Commit 45e975a

Browse files
committed
Add info on lack of support during bean initialisation phase.
1 parent 36da8a9 commit 45e975a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/src/main/asciidoc/spring-cloud-openfeign.adoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -804,8 +804,9 @@ Until that is done, we recommend using https://github.com/Playtika/feign-reactiv
804804

805805
==== Early Initialization Errors
806806

807-
Depending on how you are using your Feign clients you may see initialization errors when starting your application.
808-
To work around this problem you can use an `ObjectProvider` when autowiring your client.
807+
We discourage using Feign clients in the early stages of application lifecycle, while processing configurations and initialising beans. Using the clients during bean initialisation is not supported.
808+
809+
Similarly, depending on how you are using your Feign clients, you may see initialization errors when starting your application. To work around this problem you can use an `ObjectProvider` when autowiring your client.
809810

810811
[source,java,indent=0]
811812
----

0 commit comments

Comments
 (0)