-
Notifications
You must be signed in to change notification settings - Fork 19
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
Doesn't appear to work with any existing code #105
Comments
Hi John. I'm not sure I understand. Can you also show the code for the If you're just using Also, this won't work (it might work now, but we're going to make a distinction between subs and methods, so it will break in the future): sub root :At('$path_end/...') Via('../protected') ($self, $c, $user) {
$c->action->next($user->account);
} Instead: method root :At('$path_end/...') Via('../protected') ($c, $user) {
$c->action->next($user->account);
} I'm also unsure of how the Moose attributes work with the new |
Here's the syntax class
|
@Ovid I put the entire codebase into git https://github.com/jjn1056/Valiant/blob/main/example/lib/Example/Controller/Account.pm if that helps. |
I'm just saying maybe things like this working could be part of a 'definition of done' which might take future iterations. And I'm also suggesting as my personal opinion, that maybe this project should start thinking about compatibility. |
So I tried to use core class with a basic Catalyst controller:
But when I try to run I get a compile time error:
I'm enabling the class pragma via the 'Example::Syntax' module , it basically does 'use experimental class'.
I would propose that code like this working should be considered mandatory before moving this out of experimental status.
The text was updated successfully, but these errors were encountered: