Returning all entries from a ViewRepository, not only one by ID, would be nice addition.
I want a REST API like /query/entry/ to return all and /query/entry/{id}/ to return one. Last one would be easy to implement with ViewRepository. First one I'm struggling how to do with cqrs-es.
Returning all entries from a
ViewRepository
, not only one by ID, would be nice addition. I want a REST API like/query/entry/
to return all and/query/entry/{id}/
to return one. Last one would be easy to implement withViewRepository
. First one I'm struggling how to do with cqrs-es.