Join Slack
Powered by
How can I override a specific Bean that is provid...
# spring
i
Imran/Malic
01/28/2021, 5:06 PM
How can I override a specific Bean that is provided through the Application Context? Ideally without
MockBean
a
Arian Stolwijk
01/28/2021, 6:17 PM
Could maybe create the bean with
@Primary
👌🏽 1
i
Imran/Malic
01/28/2021, 6:38 PM
Thanks. Is it a good patern to override the the bean by using the Bean name?
8
Views
Open in Slack
Previous
Next