Scope of ifLet without id #2624
jaanussiim
started this conversation in
Beta
Replies: 2 comments 3 replies
-
Hi @jaanussiim, this warning should only happen if there is a store somewhere up the chain that was created from a scope that did not use key paths. Are you certain that all stores are using the modern form of scoping? If this is a real issue, could you try coming up with a minimal reproducing project that demonstrates the behavior? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have an application that uses main navigation in UIKit with SwiftUI views embedded. I'm scoping the destination in the view controller
This creates a scope without id.
When using this store in target view controllers embedded SwiftUI view, I get a runtime warning when scoping for sheet
Scoping from uncached .... is not compatible with observation. Ensure all store scoping operations in your application have been updated to take key paths and case key paths instead of transform functions, which have been deprecated.
Everything is upgraded to 1.5 and is using @Reducer macro and keypath actions. These features are also using @ObservableState
Beta Was this translation helpful? Give feedback.
All reactions