Skip to content
Discussion options

You must be logged in to vote

Hi @JohnRoxMySox23, there are a few things wrong with this code, and I would suggest reading the docs and tutorials to understand how to use these APIs.

First of all, anytime Swift produces a bad compiler error you should comment out things in the view until it either compiles or produces a better message. And sometimes you need to break things apart into multiple statements to help out Swift. If you do this in your view you will get the true error:

🛑 Cannot convert value of type 'Store<StackState<MyNavigationFeature.Path.State>, StackAction<MyNavigationFeature.State, MyNavigationFeature.Action>>' to expected argument type 'Store<StackState<MyNavigationFeature.Path.State>, StackAction<My…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@JohnRoxMySox23
Comment options

@mbrandonw
Comment options

@JohnRoxMySox23
Comment options

@mbrandonw
Comment options

@JohnRoxMySox23
Comment options

Answer selected by JohnRoxMySox23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants