@Primary for resolving ambiguity| Dependency Injection | Spring Tutorial |Ch1|E10|

Опубликовано: 13 Май 2026
на канале: STUDevLantern
234
9

this session we talk about the first way of resolving ambiguity when a list of candidates are resolved for a specific injection point and that is by annotating or components with @Primary annotation.

this is one of the spring solution that with @Primary annotation, spring resolve ambiguity