Mongo CQRS support #1503
Unanswered
o-shevchenko
asked this question in
Q&A
Replies: 1 comment 2 replies
-
It should be possible to define multiple entities that are referencing the same collection. Sorry for the late reply. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to use different entities for reading and write with Micronaut Data Mongo
CrudRepository
?Use case: Let's say we have two entities
Parent
andChild
.We want to be able to save Child using Child entity specified above, but read entity to
ChildQuery
to read data from Mongo by a single call from two entities.How it can be done using a single repository?
Beta Was this translation helpful? Give feedback.
All reactions