Auto-generate all Async and Sync extensions of IManagementClient. #301
Closed
inikulshin
started this conversation in
Ideas
Replies: 2 comments 3 replies
-
Interesting! Are you not using a Roslyn generator with attributes, because then it should be possible to generate build time without needing any files at all? Alternatively, I was thinking this library could benefit from https://github.com/reactiveui/refit attributes on the interfaces, so we don't need any concrete implementation at all in our code base. |
Beta Was this translation helpful? Give feedback.
3 replies
-
Implemented in #304 |
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
-
Async - all those one-liners that accept
Vhost
,Queue
, etc. parameters and call Async methods/extensions withstring
parameters.Sync - all one-liners that call Async methods/extensions with exactly the same parameters continued with
.GetAwaiter().GetResult()
.I already have a code that generates both (83 Async and 163 Sync extensions), but I'm not sure what to do:
Beta Was this translation helpful? Give feedback.
All reactions