-
Notifications
You must be signed in to change notification settings - Fork 201
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
move blade directives after resolving #25
Conversation
Signed-off-by: Benjamin Michotte <bmichotte@gmail.com>
👍 Definitely appears to be safest to wrap all Blade directive assignments into the |
Thank you! |
@MarceauKa can you create a release for this? I've had laravel-permission blade directives show up and by updating this package to "dev-master" they were fixed. |
@MarceauKa any chance you'd tag a new release soon or at least some eta ? |
As a workaround while we are all waiting for release, you can use this in your "require": {
"lab404/laravel-impersonate": "dev-master",
},
"config": {
"preferred-install": {
"lab404/laravel-impersonate": "source",
"*": "dist"
}
} |
|
By using
Blade::directive
from yourregister
method seems to force blade to fire its resolving, causing other packages which load their directives afterResolving to fail.See spatie/laravel-permission#458, albertcht/invisible-recaptcha#41 and related issues