Uploaded image for project: 'Thorntail'
  1. Thorntail
  2. THORN-666

Support @Inject @ConfigurationValue Optional<VALUE>

    Details

    • Type: Enhancement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2016.9
    • Fix Version/s: 2016.10.0
    • Component/s: core
    • Labels:
      None

      Description

      That would allow a more fluent way of writing code when a configuration value does not exist.

      Eg. String ctx = this.context.orElse( this.fraction.context() );

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  gastaldi George Gastaldi
                  Reporter:
                  gastaldi George Gastaldi
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: