hello! :wave: Is there are preferred visibility modifier for creating auto configuration libs? My co...
d
hello! πŸ‘‹ Is there are preferred visibility modifier for creating auto configuration libs? My co-worker insists on making those internal which seems wrong to me….
w
are you talking about the visibility of the Autoconfiguration classes?
i would say public, b/c downstreams may want to
@ImportAutoconfiguration
on their Spring tests
d
thats my reasoning as well
*or for specifying custom order using depends on/configure after etc
βž• 1
k
then I would say it's not preferrence but necessity πŸ™‚