-
-
Notifications
You must be signed in to change notification settings - Fork 110
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
Raise exception for reserved words (namely flash
)
#158
Comments
If nobody minds, I'll get this issue. But I have no idea how to implement it yet, hah |
@Vladimirich Please do. |
@Vladimirich are you still up for it? |
Hi everyone. I think we can go with guard module. The idea behind is dead simple:
I have created a proof of concept can be found here. Any thoughts? Thank you. |
@akhramov , yep, sorry, was on vacation and forget to inform about it in this issue |
@akhramov , but if you already did something you can take this issue. What do you think? |
@Vladimirich let us try, thanks. |
This issue started as a request for documentation that
flash
is a reserved word when usingHanami::Action::Session
: hanami/hanami#595Instead of just documenting it, we should help the developer by raising an exception when they try to use any reserved word.
One reserved word is
flash
but we should make sure all reserved words are covered.(Thanks for the original issue @rafaels88)
The text was updated successfully, but these errors were encountered: