chibenwa commented on code in PR #2600: URL: https://github.com/apache/james-project/pull/2600#discussion_r1916659027
########## server/mailrepository/mailrepository-api/src/main/java/org/apache/james/mailrepository/api/MailRepository.java: ########## @@ -59,6 +163,18 @@ default Publisher<Long> sizeReactive() { */ Iterator<MailKey> list() throws MessagingException; + default Iterator<MailKey> list(List<Condition> conditions) throws MessagingException { Review Comment: We would be more flexible by creating a `And` condition and passing a single condition here? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For additional commands, e-mail: notifications-h...@james.apache.org