-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
refactor(connector): [Noon] Remove Default Case Handling #2677
refactor(connector): [Noon] Remove Default Case Handling #2677
Conversation
Hey @SagarDevAchar , |
@swangi-kumari got it! |
Hey @SagarDevAchar , Pls address the CI fails Run and |
Will do!
I cannot seem to get error[E0432]: unresolved import `core::any::Demand`
.
.
error[E0432]: unresolved imports `core::any::Demand`, `core::any::Provider`
.
.
error[E0425]: cannot find function `request_ref` in module `any`
.
. How do I resolve this? |
@SagarDevAchar You don't necessarily need the nightly toolchain for compiling our code, please use the stable toolchain for the purpose. For formatting code alone, you can use the nightly toolchain using the command And I checked the changes in this PR, I don't think you need to specify the generics for the return type ( |
7fedf0c
to
d007b0b
Compare
Got it!
Well, on router compilation with just Hence, I have added the type annotations to Please review and let me know of any changes necessary! |
ab2f7d8
to
ee200ff
Compare
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.
Looks good to me!
Thanks for the PR, @SagarDevAchar!
Hey @SagarDevAchar , |
Type of Change
Description
crates/router/src/connector/noon/transformers.rs
NotImplemented
toNotSupported
in default caseAdditional Changes
Motivation and Context
How did you test it?
No test cases. As In this PR only error message have been populated for all default cases.
Checklist
cargo +nightly fmt --all
cargo clippy