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
{{ message }}
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.
I have a little problem with settings version for Inertia. When i set in my subscriber version, i get always refresh.
for example if i set this as my version $this->inertia->version('123')
i would except to not get refresh on every request. After a little debugging i found, that in InertiaListener.php theres a condition for checking versions. (i am not be dev) After dump, i can see version is null.
This bundle is a bit outdated compared to the Laravel one, it's missing a few things, mainly LazyProp and automated version control using manifest.json, I published a v3 under composer remove rompetomp/inertia-bundle && composer install tofandel/inertia-bundle which is now up to date with the features of the laravel package
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello, thanks for this nice bundle.
I have a little problem with settings version for Inertia. When i set in my subscriber version, i get always refresh.
for example if i set this as my version
$this->inertia->version('123')
i would except to not get refresh on every request. After a little debugging i found, that in
InertiaListener.php
theres a condition for checking versions. (i am not be dev) After dump, i can see version is null.var_dump($request->headers->get('X-Inertia-Version')); var_dump($this->inertia->getVersion());
Results in:
/srv/app/vendor/rompetomp/inertia-bundle/EventListener/InertiaListener.php:38:string '123' (length=3) /srv/app/vendor/rompetomp/inertia-bundle/EventListener/InertiaListener.php:39:null
The text was updated successfully, but these errors were encountered: