-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
Description
I'm looking through the documentation for Zinc after having some issues with Zap and I much prefer the API that Zinc offers, however, I'm noticing that we don't really have a way to support path parameters in Zinc. Ideally, I'd be able to do something like the following:
var z = try zinc.default();
var router = z.getRouter();
try router.get("/users/:id", getUser);where id would be parsed out and provided to getUser. I know that this isn't exactly trivial and there's a lot of edge cases here, but I think this would be huge for adoption of Zinc!
Looking forward to hearing back!
dravenk