Eager Initialization #503
Unanswered
rajanjha786
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I played around this library I noticed that by default it initialize the dependency lazily. Is there any way to tell the container to eagerly initialize some of the dependencies? like in the Spring container default behavior is to initialize the dependencies eagerly.
Why I want to initialize some dependencies eagerly is because some of my dependencies depend upon classes that connect with the outside world and it fails when I first hit my API.
I want it to be failed when I start my server.
Beta Was this translation helpful? Give feedback.
All reactions