Read model that reads another model #950
Replies: 1 comment
-
Closing as stale, we now can create async getters that do this |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have created a read model that has the following setup:
public id: UUID, @sequencedBy readonly timestamp: TimeKey, readonly hashtags: Array<string>,
where hashtags are an array of hashtagIds.
When I query this object, I would then like to query the HashtagRead model to populate the hashtags with the entities, so it will be something like this:
public id: UUID, @sequencedBy readonly timestamp: TimeKey, readonly hashtags: Array<Hashtab>,
Is this possible?
Beta Was this translation helpful? Give feedback.
All reactions