Closed vic3lord closed 3 years ago
With your permission, I will expand the question.
What if there is Reviewer object (we need to extract user data from Review and preserve it separately) and it should be stored strictly in SQL database storage (postgres|mysql|whatever, but it should be db)?
How to organize the listing and updating services and repositories? Should there be different services and repos for the same actor (listener)? @katzien ?
First off, this is a great repo which I use often as a reference.
I adopted the DDD option in a few services with only REST APIs and would like to add gRPC support but:
.proto
filesAddBeer
without having 2 structs of storage implementing the same methods.func (s *StorageA) AddBeer(ctx, *pb.BeerRequest)
func (s *StorageB) AddBeer(beer struct goes here)
Thanks 🎉