Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-3576

Allow injected parameters to support Optional

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • None
    • Core
    • None

      Allowing injected parameters, e.g. @PathParam, @QueryParam, etc., to have a type of java.util.Optional should be allowed. This may end up being required in Jakarta REST 5.0, https://github.com/jakartaee/rest/issues/503. However, there is no reason to wait adding support for this.

              jperkins-rhn James Perkins
              jperkins-rhn James Perkins
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: