Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-8163

Add support to Optional<T> for @ConfigProperty and @ConfigProperties

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 6.3.0
    • None
    • None
    • None
    • Cloud Service 16
    • 1

      Add support to Optional<T> for the annotations @ConfigProperty and @ConfigProperties provided by the implementation of microprofile for Guice.

      • The properties Optional<T> annotated with @ConfigProperty will will be set with Optional.empty when missing the property or defaultValue has no value. Otherwise will be set with the value of the property.
      • The properties Optional<T> annotated with @ConfigProperties will be set with Optional.empty when missing properties prefixed with the prefix of the bean. Otherwise will be set with the value of the property.

        Acceptance criteria

              joaquin.alfaro Joaquin Alfaro
              joaquin.alfaro Joaquin Alfaro
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: