-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replaced generic struct based AWSAppSyncClientError by a typed enum… #35
Replaced generic struct based AWSAppSyncClientError by a typed enum… #35
Conversation
Hello @MarioBajr Thanks for the PR! As you have noted, this would be a breaking change, I was wondering if we could make the struct a property of Thanks, |
Sure thing, gonna replace tomorrow to the |
Awesome! thanks @MarioBajr will wait for the update! |
Hi @rohandubal. How do you feel about the additions of the redundant parameters with deprecated flag as an effort not to break the backward compatibility, but keeping the interface clean in the long run?
|
I think that is a fair approach. I will discuss it with the team and get back to you if we are all clear for this approach. Thanks again! |
Reviewing the latest changes. |
Hello @MarioBajr The changes look great! However, I am unable to merge due to conflicts. Is it possible for you to rebase onto master? I will release them as soon as they are rebased. Thanks, |
Done 👍 |
Awesome, thanks @MarioBajr Will merge it soon 😄 |
… based version, providing more informations in the process. - Moved common request code into a single method in AWSAppSyncHTTPNetworkTransport
…backward compatibility.
…WSAppSyncClientError
The struct based
AWSAppSyncClientError
doesn't provide enough informations about the error. Requiring the user to do string matching withadditionalInfo
to figure out what exactly went wrong.Description of changes:
AWSAppSyncClientError
by a typed enum based, providing better description for each type of error, including inner errors when applied.AWSAppSyncHTTPNetworkTransport
.Considerations: