Add support for string interpolation to PathComponent
This patch was authored by @dimitribouniol and released by @tanner0101.
Enables call sites that use PathComponent
s 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)")