Closed joshfom closed 3 years ago
I got it figured out. I over calculated, tenant hash_id is in the session I could reach out to it no need to pass the whole model
👋 Oh Hi! I'm Squishy, the friendly jellyfish that manages Livewire issues.
I see this issue has been closed.
Here in the Livewire repo, we have an "issues can be closed guilt-free and without explanation" policy.
If for ANY reason you think this issue hasn't been resolved, PLEASE feel empowered to re-open it.
Re-opening actually helps us track which issues are a priority.
Reply "REOPEN" to this comment and we'll happily re-open it for you!
(More info on this philosophy here: https://twitter.com/calebporzio/status/1321864801295978497)
Description
Hi I am facing issues using global scope everything works well on initial request, I get an error on hydrate (subsequent request) after the component is loaded
I am working on a Multi Tenant CMS, we have everything working with Controllers and Blade, we want to make it more real-time, First we convert to Inertia Js which everything is working perfectly fine no errors, we are short of Vue developer in our team then we decided to shift all to Livewire which is great and all seems well until we started adding forms to create models.
On initial request the scope works with no issue, we get a warning if we use wire:model="" on input as seen below
Exact steps to reproduce
my scope
Everything works well as expected with normal controllers/blade and Laravel/Inertia Js full CRUD operation with the global scope
Please any heads up on how to troubleshoot, maybe it has something to do with hydrate and dehydrate?
Or any recommended Multi-Tenancy package that will work with Livewire
Thanks in Advance
Context