Error: no overload matches 'Lucky::ProtectFromForgery.get_token' with type (HTTP::Server::Context | Nil) #1659
Unanswered
drhuffman12
asked this question in
Q&A
Replies: 1 comment 1 reply
-
It sounds like this is an app that was upgraded, right? I think it's this issue #1526 Looking at that app, I see it's using Lucky 0.27. I forget if that version made this change or not. If possible, I'd suggest upgrading to Lucky 0.29. You can use LuckyDiff https://luckydiff.com/?from=0.27.2&to=0.29.0 and check through the UPGRADE NOTES https://github.com/luckyframework/lucky/blob/master/UPGRADE_NOTES.md If you're unable to upgrade, we can come up with a temp monkey patch solution. Let me know if that works for you. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to update a dockerized example app using Lucky. (See: drhuffman12/example_lucky_app#3.)
When running
docker-compose up
, I'm getting build/test failures with the following error:The
docker-compose build
parts passed passed, but had some red text also. I'm not sure, but the red text parts might be affecting thedocker-compose up
parts.See also CI failures noted in: https://github.com/drhuffman12/example_lucky_app/runs/4995359592?check_suite_focus=true
Beta Was this translation helpful? Give feedback.
All reactions