-
Notifications
You must be signed in to change notification settings - Fork 1
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
Load Catalyst::Middleware::Stash #2
Conversation
|
This also appears to fix RT 119477 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Solution strategy looks good. Implementation must change.
lib/CatalystX/Test/MockContext.pm
Outdated
| my $env = shift; | ||
| if (eval { $Catalyst::VERSION } >= 5.90070) { | ||
| Class::Load::load_class('Catalyst::Middleware::Stash'); | ||
| $env->{Catalyst::Middleware::Stash::PSGI_KEY()} //= |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change this to use the standard Plack middleware API instead of _create_stash. This will make it more forward-compatible.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes made using your patch. It passes tests.
|
Any plans to release soon? |
This fixes #1.