swift-url-routing icon indicating copy to clipboard operation
swift-url-routing copied to clipboard

A bidirectional router with more type safety and less fuss.

Results 9 swift-url-routing issues
Sort by recently updated
recently updated
newest added

https://github.com/pointfreeco/swift-url-routing/blob/380347731cd4c532696f27613fbdb12661ba8949/Sources/URLRouting/Internal/Deprecations.swift#L11 This line should be: ` @available(*, deprecated, renamed: "decodedResponse(for:as:decoder:)")`

Allows the framework consumer to attach (on a per request basis) "options" to requests which can be accessed inside the client. For example, you might want to build a network...

The published [documentation link for version 0.2.0](https://pointfreeco.github.io/swift-url-routing/0.2.0/documentation/urlrouting) in README.md is not working - it always ends with 404.

In this example, I'm supplying an uppercased request header but it's getting lowercased somewhere within the parsing library. I couldn't easily figure out where this was happening to fix with...

Adds a new `.scoped` operator on URLRoutingClient that can be used to create scoped clients. This supports a use case where your main client may support a large number of...

Hi, I was trying to model an existing API but I'm encountering a problem. Example: This is one of the urls: `BASE_URL/somepath/SOME_STRING_VAR/ANOTHER_STRING_VAR`. The method is POST and it has a...

Hello everyone 👋 We are currently using URLRouting in our Application. In our current case we've been facing a problem with the parsing of the path of an URL. ###...

Parsing a url that includes a path in the baseUrl fails with the example below: ```swift let baseRouter = router.baseURL("https://google.com/v1") let route = try! baseRouter.parse(URLRequestData(string: "https://google.com/v1/accounts")!) ``` ```swift Thread 1:...

By any chance does this library support parsing out an array of nested routes? For example: `/user/:123/profile // -> [AppRoute.user(id: 123), AppRoute.userProfile(id: 123)` (or something like this) This would be...