Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

what self demo #2

Open
yingnierxiao opened this issue Apr 20, 2017 · 6 comments
Open

what self demo #2

yingnierxiao opened this issue Apr 20, 2017 · 6 comments

Comments

@yingnierxiao
Copy link

route "*/users" (function(self) end)

what self functions?
self:to ?
self:render?

@bungle
Copy link
Owner

bungle commented Apr 20, 2017

Yes, I should add that. self functions are basically wrapping ngx.exit etc. functions so that we can run possible after filters etc. I hope that I do have some time with this in a future.

@yingnierxiao
Copy link
Author

route:use "resty.route.middleware.reqargs" {} is error now or route:use "reqargs" {}

@bungle
Copy link
Owner

bungle commented Apr 21, 2017

@yingnierxiao, that's right, middleware should be rewritten. They are for old version. Haven't got time to do that, sorry.

@p0pr0ck5
Copy link

@bungle I know you're busy :) having docs on this would be awesome 👍

@bungle
Copy link
Owner

bungle commented Nov 29, 2017

@p0pr0ck5 thanks, I try to get my act together and fix this. I really think there are nice things with this library and I have spend a lot of time and effort on it. I am open for contributions, as always... there are a quite good list of what could be done here: https://github.com/bungle/lua-resty-route#roadmap

@bungle
Copy link
Owner

bungle commented Nov 30, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants