YuanSheng Wang

Results 116 comments of YuanSheng Wang

many thx for your nice mention @RocFang

ping @nic-chen please confirm this PR can work fine. I think we need to add some documentation about this new feature.

> > missing test cases? > > Yes I still use manual tests to check its working status each time for now. Planed to add one but haven't done so...

@Gary-Airwallex we can talk it here. I think that is a bug. we need to fix it.

if you want to use the regex, you can take a look at this way: ```lua local radix = require("resty.radixtree") local rx = radix.new({ { paths = {"/bb*"}, vars =...

I did some research about `*`, I think the current way is correct. We support `*` is same as `gin`, here is the official link: https://github.com/gin-gonic/gin And here is the...

> For example if we configure "uri": "/:id/foo/\*action/bar" in APISIX, both requests "/1/foo/get/bar" and "/2/foo/bar" I think that is a wrong example. `"/:id/foo/\*action/bar"` is an invalid format, it is difficult...

> Maybe we could add this tip to our docs? @membphis @kongjun01 @kongjun01 would you like to submit a PR?

> Is there any plan on supporting optional parameter as described in my example? (Such that both "/foo/bar" are "/foo/1/bar" by uri "/foo/SOME_OPTIONAL_PARAMETER/bar") It's not a must-have feature for us...

that is a todo feature ^_^ BTW, please use English in public channel