johnpatrickmorgan / FlowStacks

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

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

Closed fishcharlie closed 1 month ago

fishcharlie commented 1 month 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 month ago

Thanks @fishcharlie!

fishcharlie commented 1 month 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.