Warning while using SwitchStore #2366
Ramesh1402
started this conversation in
General
Replies: 1 comment 1 reply
-
Hi @Ramesh1402, your use of SwitchStore(store: …) {
switch $0 {
case .login:
CaseLet(…)
case .home:
CaseLet(…)
}
} Since I don't think this is an issue with the library I am going to convert it to a discussion. Feel free to follow up with more questions there. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Issue : While using SwitchStore I am getting a warning saying "Mismatch between cases being switched on". please refer the screenshot attached.
Framework Version: 1.0.0
OS Version: iOS 16.4
Checklist
main
branch of this package.Expected behavior
There should be no warning when using SwitchStore with appropriate cases.
Actual behavior
Warning being displayed when using SwitchStore.
Steps to reproduce
Code_ScreenShot:

Error ScreenShot:

The Composable Architecture version information
1.0.0
Destination operating system
iOS 16.4
Xcode version information
Xcode 14.3.1
Swift Compiler version information
Beta Was this translation helpful? Give feedback.
All reactions