Closed jorge07 closed 3 years ago
Thanks a lot for your feedback ! I will fix your suggestions and I will continue to iterate
Actually I'm still discovering CQRS + ES pattern/architecture and I don't know if Ishould use 1 projection/view by query or if the same projection can be use multiple times (which justify serialization groups). Also, there is still a need of using groups when embedding credentials for example, I don't want to return hashed password in my view
Honestly, I had some struggle to get things working like I wanted, I agree with you about the extra complexity. Maybe my lack of experience with both APIP and CQRS/ES is the main point here
As a side note, I found another project which has an APIP bridge and it's inspired by your project
Again, thanks for taking the time to review my code
Actually I'm still discovering CQRS + ES pattern/architecture and I don't know if Ishould use 1 projection/view by query or if the same projection can be use multiple times (which justify serialization groups).
As always it depends if fits requirements or not. I can help you to save space and indexation time but in the other side can be less efficient for some queries. You've to measure per use case. But I generally go first for option 1.
Also, there is still a need of using groups when embedding credentials for example, I don't want to return hashed password in my view
Don't store hashed password in your view then. (goto 1, different use cases, don't really want to reuse projection. Reason" security)
Keep iterating, doing, redoing, and deleting. Assimilate all this concepts require start from scratch multiple times at the beginning
Bridge/ApiPlatform
is Infrastructure, should be inside infrastructure folder.Not all are bad news/feedback, there're things I really like, like the usage of validator, voters and many others. Nice work