공부
[spring] profile & |
승가비
2022. 8. 10. 01:26
728x90
@Profile("test | local")
@Profile("!dev & !prof1 & !prof2")
https://stackoverflow.com/questions/43168881/can-i-negate-a-collection-of-spring-profiles
Can I negate (!) a collection of spring profiles?
Is it possible to configure a bean in such a way that it wont be used by a group of profiles? Currently I can do this (I believe): @Profile("!dev, !qa, !local") Is there a neater notation to achi...
stackoverflow.com
728x90