You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The User entity has a token generated automatically on __construct which has its getToken()-method. However, when using this syntax I get:
Nelmio\Alice\Throwable\Exception\FixtureBuilder\ExpressionLanguage\LexException:
Could not lex the value ">token".
When I change it to e.g. - '@user_confirmed__1->token' it does work. Well, besides the fact that it uses the same token for all users then, but the syntax is accepted.
This makes me believe there is a problem with the <current()> function which causes it to not being able to be chained anymore.
I hope you either know what I'm doing wrong or where the bug is because this is causing us a few headaches 😅.
The text was updated successfully, but these errors were encountered:
Hi There,
I've upgraded van 2.1.2 to 3.2.0 and I think I might've found a bug which is causing us problems right now.
This is an example of what I'm trying to do:
The User entity has a token generated automatically on
__construct
which has itsgetToken()
-method. However, when using this syntax I get:When I change it to e.g.
- '@user_confirmed__1->token'
it does work. Well, besides the fact that it uses the same token for all users then, but the syntax is accepted.This makes me believe there is a problem with the
<current()>
function which causes it to not being able to be chained anymore.I hope you either know what I'm doing wrong or where the bug is because this is causing us a few headaches 😅.
The text was updated successfully, but these errors were encountered: