You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Boot Documentation has a section about PropertySource order. The @DynamicPropertySource is missing in this list. According to its JavaDoc, @DynamicPropertySource would be after @TestPropertySource, though it is unclear, if it has higher priority than Devtools global settings.
Dynamic properties have higher precedence than those loaded from @TestPropertySource, the operating system's environment, Java system properties, or property sources added by the application declaratively by using @PropertySource or programmatically. Thus, dynamic properties can be used to selectively override properties loaded via @TestPropertySource, system property sources, and application property sources.
The text was updated successfully, but these errors were encountered:
wilkinsona
changed the title
Priority of @DynamicPropertySource is not documented
Add @DynamicPropertySource to documented list of property source ordering
Oct 27, 2022
The Boot Documentation has a section about PropertySource order. The @DynamicPropertySource is missing in this list. According to its JavaDoc, @DynamicPropertySource would be after @TestPropertySource, though it is unclear, if it has higher priority than Devtools global settings.
The text was updated successfully, but these errors were encountered: