Bahn-X / swift-composable-navigator

An open source library for building deep-linkable SwiftUI applications with composition, testing and ergonomics in mind
MIT License
580 stars 25 forks source link

Add ResultBuilder for building PathBuilders #49

Closed ohitsdaniel closed 3 years ago

ohitsdaniel commented 3 years ago

Idea

Look into ResultBuilders for PathBuilders.

Problem description

The current way of PathBuilder composition requires users to type PathBuilders.[insertNameOfPathBuilderHere] and seems a bit clunky. Maybe we can improve this with PathBuilders?

Limitation: ResultBuilder is only available in Swift 5.4 and Xcode 12.5 and up.