routing-kit

4.2.0

🚍 High-performance trie-node router.
vapor/routing-kit

What's New

Add support for string interpolation to PathComponent

2020-07-16T17:46:01Z
This patch was authored by @dimitribouniol and released by @tanner0101.

Enables call sites that use PathComponents to allow for string literals that make use of interpolation (#101).

In Vapor, this enables constants and other variables to be used in routes:

let api = app.grouped("version-\(Constants.apiVersion)")

Description

  • Swift Tools 5.2.0

Dependencies

  • None
Last updated: Sat Aug 15 2020 15:34:13 GMT-0500 (GMT-05:00)