You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When generating code for clients, we currently create a struct with inherent methods. This makes it a bit annoying to unit test code that works with the client, since you need to mock out the low-level Client.
Instead, we should generate a trait and a struct that implements it. This also unifies the result with the new conjure client macro generation as a separate benefit.
The text was updated successfully, but these errors were encountered:
When generating code for clients, we currently create a struct with inherent methods. This makes it a bit annoying to unit test code that works with the client, since you need to mock out the low-level Client.
Instead, we should generate a trait and a struct that implements it. This also unifies the result with the new conjure client macro generation as a separate benefit.
The text was updated successfully, but these errors were encountered: