Uploaded image for project: 'Tamaya'
  1. Tamaya
  2. TAMAYA-132

Remove @ConfigDefault in favour of @Config(defaultValue=...)

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.1-incubating
    • 0.2-incubating
    • Modules

    Description

      Aligning with most config frameworks today. Instead of

      @Config("key1")
      @ConfigDefault("foo");
      private String configuredValue;
      

      one would write

      @Config("key1", defaultValue="foo")
      private String configuredValue;
      

      This reduces the annotation needed.

      Attachments

        Activity

          People

            anatole Anatole Tresch
            anatole Anatole Tresch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0.5h
                0.5h
                Remaining:
                Remaining Estimate - 0.5h
                0.5h
                Logged:
                Time Spent - Not Specified
                Not Specified

                Slack

                  Issue deployment