koajs / router

Router middleware for Koa. Maintained by @forwardemail and @ladjs.
MIT License
849 stars 174 forks source link

Support symbols as route names #143

Closed noinkling closed 2 years ago

noinkling commented 2 years ago

As outlined in #142

Just some minimal changes and tests. I haven't touched the documentation because I don't know if you want to support this "officially" or not.

etroynov commented 2 years ago

@noinkling in what cases it can be useful?

noinkling commented 2 years ago

@etroynov It's described in the linked issue (#142)

etroynov commented 2 years ago

@noinkling could you resolve the conflict?

noinkling commented 2 years ago

could you resolve the conflict?

Done.

titanism commented 2 years ago

We have just published @koajs/router v11.0.0 which resolves this issue. This is mirrored to koa-router as well.

https://github.com/koajs/router/releases/tag/v11.0.0

This project is maintained by Forward Email and Lad.