Uploaded image for project: 'Spring Data Commons'
  1. Spring Data Commons
  2. DATACMNS-1635

Allow dedicated expression of null handling for Querydsl Predicates in WebMVC integration

    XMLWordPrintable

    Details

    • Sprint:
      Moore SR2

      Description

      We should support defining the null handling of Querydsl Predicate s in Spring MVC handler methods by either using @Nullable or JDK 8's Optional.

      Semantics should follow Spring's MethodParameter.isOptional(), i.e. a non-null Predicate is handed into the method by default unless the parameter is explicitly annotated with @Nullable. Alternatively, the parameter can be declared as Optional<Predicate> to handle absence of the parameter the JDK 8 way.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              olivergierke Oliver Drotbohm
              Reporter:
              olivergierke Oliver Drotbohm
              Last updater:
              Mark Paluch
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: