Note, this feature did require some changes to the Inertia::share() option in the Laravel adapter. You may need to update your code if you were using the closure format.
Reason why: we need to know the shared keys, without having to first evaluate to the callback.