java question, if my model contains T[], I think it'd make more sense for consumers of the controller to receive Stream<T> from Arrays.stream, rather than List<T> or T[]? model is all records, no mutation once it's loaded in from disk. consumer can collect to an array or list if needed, but for stuff like building UI you could just foreach
#controller typing
1 messages · Page 1 of 1 (latest)
<@&987246399047479336> please have a look, thanks.
yes returning a stream is a good idea