Dependency Injection for "existing" Read Models #1005
-
I would like to inject a service into my read model in order to call ApplyAsync and run a query. Per #868 (comment), I tried implementing Or am I missing something? |
Beta Was this translation helpful? Give feedback.
Answered by
ahoneggar-trellance
Sep 6, 2023
Replies: 1 comment
-
Just use the IReadModelContext.Resolver :) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ahoneggar-trellance
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just use the IReadModelContext.Resolver :)
Just needed to post this before I figured it out