EventFlow icon indicating copy to clipboard operation
EventFlow copied to clipboard

Doc: Add a readmodelrepository example

Open rlf opened this issue 8 years ago • 2 comments

In the documentation, you are missing the final link in the chain between readmodels and queries. The example uses a IUserReadModelRepository but there is no example of how that would look.

Is it something that can be "autogenerated", or do I need to write a specific SQL-based repository (including interfaces) to access the ReadModel-store?

rlf avatar Jul 12 '17 06:07 rlf

@rlf good idea for the final link. EventFlow doesn't make any attempt at writing the SQL or ES queries and properly never will, its simply too complex and I personally wouldn't want them auto-generated as they often rely on e.g. indexes. In most cases I would guess that queries on read models would be based on a single property/column and then the SQL you be rather trivial

rasmus avatar Jul 12 '17 18:07 rasmus

This should still be stated in the documentation. I was looking for these Repositories but yeah, it's to implementation specific.

k3daevin avatar Jul 04 '21 04:07 k3daevin

Hello there!

We hope you are doing well. We noticed that this issue has not seen any activity in the past 90 days. We consider this issue to be stale and will be closing it within the next seven days.

If you still require assistance with this issue, please feel free to reopen it or create a new issue.

Thank you for your understanding and cooperation.

Best regards, EventFlow

github-actions[bot] avatar Apr 08 '23 13:04 github-actions[bot]

Hello there!

This issue has been closed due to inactivity for seven days. If you believe this issue still needs attention, please feel free to open a new issue or comment on this one to request its reopening.

Thank you for your contribution to this repository.

Best regards, EventFlow

github-actions[bot] avatar Apr 16 '23 09:04 github-actions[bot]