Details
-
New Feature
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
I don't know what is deltaspike's strategy regarding support of java 8 features but it would be nice if repositories could use Optional<T> as return type.
When using @Query, there would be no need to specify singleResult = OPTIONAL.
It would be nice if deltaspike could gradually support java 8 features a bit like how spring does (if java.util.Optional is present on the classpath, then it can be used in various places, otherwise features relying on it are not usable).