Closed ohitsdaniel closed 3 years ago
100.00%
✅ No files affecting coverage found
96.85%
Files changed | - | - |
---|---|---|
PathBuilder+EraseCircularPath.swift | 100.00% |
:white_check_mark: |
98.46%
✅ No files affecting coverage found
Powered by xcov
Generated by :no_entry_sign: Danger
Resolves #62.
Problem
As described in #62, circular navigation paths currently lead to failing builds as the compiler is not able to resolve recursive content types.
Solution
Allow erasing circular navigation paths to AnyView. This has a performance impact as SwiftUI will no longer be able to use the View type to perform its diffing for all erased successors. As circular paths are the exception and not the rule, I think this is fine for now.