Morgan Zellers
Morgan Zellers
These will be useful in solving this: https://forums.swift.org/t/unable-to-compile-lib-internalswiftsyntaxparser-myself-from-latest-commit/38020/10 https://github.com/apple/swift-syntax
Began Working on `persistWhenSkipped` in navigation links. Findings below: - I started at first by changing `launch()` and `proceed()` in `WorkflowViewModel`: From this: ``` extension WorkflowViewModel: OrchestrationResponder { func launch(to...
This realization made me go look at `proceedInWorkflow()` in `WorkflowItem`: ``` private func proceedInWorkflow(element: AnyWorkflow.Element?) { if let body = element?.extractErasedView() as? Content, elementRef === element || elementRef == nil...
For that, I had a suspicion that something along the lines of this block will be needed in the `proceedInWorkflow()` function but not sure where: ``` if content == nil...
This AM I verified this behavior in Xcode 13 & 12.5.1
Moved to testing out this example app configuration: ``` WorkflowLauncher(isLaunched: .constant(true)) { thenProceed(with: FlowRep1.self) { thenProceed(with: SkippedFlowRep.self) { thenProceed(with: FlowRep2.self) { thenProceed(with: SkippedFlowRep.self) { thenProceed(with: FlowRep1.self).presentationType(.navigationLink) } .persistence(.persistWhenSkipped) .presentationType(.navigationLink) }...
This > Proceeding through this scenario works, however backing up from the second SkippedFlowRep incorrectly takes you to a FlowRep1. Is making me think that second `SkippedFlowRep`, that I'm trying...
After learning that `Content` has an underlying type, all of the checks on `if let body = element?.extractErasedView() as? Content` make much more sense. After some debugging, I have come...
After some debugging and chipping away at the changes made prior, we got back to the state of `proceedInWorkflow()` as it is on main: ``` private func proceedInWorkflow(element: AnyWorkflow.Element?) {...
Just capturing some thoughts on: > Ultimately we have to figure out why our navigation links isActive state is flipped to false even though it should be true. - Does...