Closed cwinters8 closed 1 year ago
Attempting to work out a way to parse a response into a certain type of result struct based on the type of arguments provided.
Result and Results structs are created and tests indicate correct functionality. Next step is to utilize them when parsing request responses.
Resolved with commit ac60a714e71e90f10171eddb0f09a840f53afc72
Using
Invocation
for both making method calls and parsing responses is not working well. ThemethodResults
object returned with a response seems to often have different fields than are necessary for a request method.Right now, this is causing the
TestMailbox/draft
test to fail with the error:because
create
is not an attribute on the result of the Email/set call. Instead, it looks something likeCurrently thinking that a
Result
struct that could either:The latter would be cleaner, but implementing will be more complex.