Replies: 1 comment 3 replies
-
@RoBo-Inc The main reason is backwards compatibility, but we could consider this breaking change (and others) for 2.0, unless you have ideas on how to make this change in a backwards compatible way. |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Why wouldn’t we add the
AllCasePaths: CasePathReflectable<Self>
requirement to theCasePathIterable
protocol? In practice, this is always the case anyway. So, it’s not even a "requirement" but rather a factual statement. As evidence of this, the entire library still compiles immediately after adding this additional line, without any further adjustments.If added, it would greatly simplify the following code, making the implementation more straightforward:
And, most importantly, more efficient (I'm not quite sure about this though).
This function seems to be very handy in some situations when working with TCA.
Some more details can be found in this Slack post and its 🧵
Beta Was this translation helpful? Give feedback.
All reactions