Replies: 1 comment
-
There is no easy way to mock the client itself. In my projects I am treating as "repository" because it is a different level of abstraction compared to business logic. There is no reason to mix them together. |
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
-
Hello,
Any easy way of mocking the generated client ? The only way I see on how to mock it is by putting all my requests behind interfaces, which kind of removes the "easy" way of using anonymous type directly in my methods.
Beta Was this translation helpful? Give feedback.
All reactions