Configuration for state transformation and filtering via StateOptions
A PropertyDecorator that sets up automatic subscription to the current user
Subscribes to: ApplicationRepository
Updates: The decorated property with the User object
Lifecycle: Automatically subscribes in connectedCallback and
unsubscribes in disconnectedCallback of the component.
Decorator that subscribes to the currently logged in user from the ApplicationRepository.
This decorator automatically updates the decorated property whenever the current user changes in the platform. It's the recommended approach over manual subscriptions as it handles subscription lifecycle automatically.