Skip to content

Instantly share code, notes, and snippets.

@BetterProgramming
Created February 6, 2020 20:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BetterProgramming/7aeb3c9bbf310d65618806920110aa03 to your computer and use it in GitHub Desktop.
Save BetterProgramming/7aeb3c9bbf310d65618806920110aa03 to your computer and use it in GitHub Desktop.
/// A type-erased container for a `Route`, used for route decoding purposes.
public struct AnyRoute {
public let value: Route
public let routeString: String
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment