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

Why no access to request during traverse? #1

Open
datakurre opened this issue May 2, 2016 · 1 comment
Open

Why no access to request during traverse? #1

datakurre opened this issue May 2, 2016 · 1 comment

Comments

@datakurre
Copy link

I'm curious, why both root factory and traversal steps are called without request? Of course, I'm able to subclass all the required parts, but I'm curious, why that's not the default. Maybe I'm missing something. How do you enforce any kind of user permissions during traverse if there's no request?

@kxepal
Copy link
Collaborator

kxepal commented May 2, 2016

Hi @datakurre!
Secretary of @zzzsochi is on the line.

The aiohttp_traversal is planned to be a framework-independent library, regardless what the name tells you about. So there intentionally were not added any dependencies on what the request thing is, where it comes from and how it works with it. It's all up to you.

P.S. @zzzsochi is on vacations and will come back after 16th May with more certain commentaries. Stay tuned!

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

2 participants