johnpatrickmorgan / FlowStacks

FlowStacks allows you to hoist SwiftUI navigation and presentation state into a Coordinator
MIT License
832 stars 65 forks source link

Updating migration docs to include Hashable for enum in new API #84

Closed fishcharlie closed 1 day ago

fishcharlie commented 2 days ago

When migrating to the new API, I noticed that Hashable conformance is now a requirement for the Screen enum. That wasn't clearly described in the code example, so adding it here.

johnpatrickmorgan commented 1 day ago

Thanks @fishcharlie!

fishcharlie commented 1 day ago

@johnpatrickmorgan No problem! Glad to help. If there is any chance you could help answer https://github.com/johnpatrickmorgan/FlowStacks/discussions/83, I'd really appreciate it.