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
Service overrides are currently registered and booted during the boot phase of the framework, which has caused issues where the session override is attempting to make sessions tenant-specific when outside of tenant context (#56). This caused the need for a flag to mark multitenanted context (#57), which could be used within this.
Laravel uses Application::afterResolving() to register view namespaces, as well as several other things.
I think this approach would be beneficial because:
Service overrides would ONLY be registered IF the relevant service is resolved.
Service overrides would ONLY be registered IF it's within the multitenanted context when the service is resolved.
Service overrides would NOT register unnecessarily.
Service overrides would NOT have the side effect of causing Laravel core services to load.
The text was updated successfully, but these errors were encountered:
Service overrides are currently registered and booted during the boot phase of the framework, which has caused issues where the session override is attempting to make sessions tenant-specific when outside of tenant context (#56). This caused the need for a flag to mark multitenanted context (#57), which could be used within this.
Laravel uses
Application::afterResolving()
to register view namespaces, as well as several other things.I think this approach would be beneficial because:
The text was updated successfully, but these errors were encountered: