Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-13912

Add support for YAML files to @PropertySource

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Reopened
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.2.4
    • Fix Version/s: None
    • Component/s: Core:Environment
    • Labels:
      None

      Description

      As the Spring documentation notes, the @PropertySource annotation does not support YAML files so one must use properties files in these cases.

      This can be especially annoying with third party libraries using these annotations as a separate properties file must be created.

        Attachments

          Activity

            People

            Assignee:
            snicoll St├ęphane Nicoll
            Reporter:
            robmoore Rob Moore
            Last updater:
            Spring Issues Spring Issues
            Votes:
            19 Vote for this issue
            Watchers:
            27 Start watching this issue

              Dates

              Created:
              Updated:
              Days since last comment:
              2 years, 45 weeks, 6 days ago