-
Notifications
You must be signed in to change notification settings - Fork 3
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
Fix error handling for LiFi swap quote responses #1353
Conversation
@@ -104,6 +107,31 @@ class THORChainSwapQuoteResponseJsonSerializer @Inject constructor(private val j | |||
} | |||
} | |||
|
|||
@Singleton |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please don't use singleton annotation directly on classes, provide that info in the module where they're binded/provided
@Binds | ||
fun bindLiFiSwapQuoteResponseSerializer( | ||
impl: LiFiSwapQuoteResponseSerializerImpl, | ||
): LiFiSwapQuoteResponseSerializer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Binds | |
fun bindLiFiSwapQuoteResponseSerializer( | |
impl: LiFiSwapQuoteResponseSerializerImpl, | |
): LiFiSwapQuoteResponseSerializer | |
@Binds | |
@Singleton | |
fun bindLiFiSwapQuoteResponseSerializer( | |
impl: LiFiSwapQuoteResponseSerializerImpl, | |
): LiFiSwapQuoteResponseSerializer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
#1273