Protocol Type in State of Reducer #2890
Unanswered
byunsangun
asked this question in
Q&A
Replies: 1 comment
-
Hi @byunsangun, this is not a TCA problem. It's just how Swift works. Existentials like |
Beta Was this translation helpful? Give feedback.
0 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to create a field within a State inside a Reducer,
and I want to declare the type of this field as a protocol.
However, I'm encountering the following error:
I'm curious about why this error is occurring and how to resolve it.
Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions