Open basz opened 6 years ago
@prolic @sandrokeil @codeliner thoughts?
I now understand Query's as used in the standard projections are not traditional queries but rather projections without persisted state.... So that might skew this a little... Thought I needed to point that out...
From @prolic on March 29, 2017 3:55
I don't think it makes sense to have this as middleware. An event store query can use some time, it's more for answering some questions that arise from the business, where someone wants to know some stats f.e. and he is happy, when you give him the result the next few days. There is no need to have this exposed through the Api I think.
From @basz on March 16, 2017 15:37
on chat
It is possible to query standard projections. One QueryStandardProjection query could do it, but we would loose out on permissions etc.. so... quick and dirty
routes
Which add a StandardQueryMiddleware.
It's just an rough idea... Looking for input
Copied from original issue: prooph/psr7-middleware#22