[
https://issues.apache.org/jira/browse/DELTASPIKE-1165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
John D. Ament resolved DELTASPIKE-1165.
---------------------------------------
Resolution: Fixed
Added support, updated docs.
> Repositories support returning Stream<E> in addition to List<E>
> ---------------------------------------------------------------
>
> Key: DELTASPIKE-1165
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-1165
> Project: DeltaSpike
> Issue Type: New Feature
> Components: Data-Module
> Affects Versions: 1.6.1
> Reporter: John D. Ament
> Assignee: John D. Ament
> Fix For: 1.7.0
>
>
> It's a nice feature that helps make the code look a bit more modern,
> especially when paired up with Optional<E> support.
> Since JPA returns List<E> on the query interface, we can just return
> list.stream() to give back a stream of data, avoiding the caller's need to
> wrap a stream.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)