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
Latest release added symfony/event-dispatcher as an optional dependency (according to composer.json, it is only required for dev).
Yet the code is written in a way that symfony/event-dispatcher is required. Thus an exception is triggered when e.g. a feature flag is disabled and the autoloader cannot find the associated classes, e.g. Symfony\Contracts\EventDispatcher\Event.
To reproduce
Run Unleash without sentry/event-dispatcher
Check for a disabled feature flag
Sample code (optional)
No response
Version
v1.5.081
Expected behavior
isEnabled() returns false instead of throwing an error or exception.
Logs (optional)
No response
Additional context (optional)
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Describe the bug
Latest release added symfony/event-dispatcher as an optional dependency (according to composer.json, it is only required for dev).
Yet the code is written in a way that symfony/event-dispatcher is required. Thus an exception is triggered when e.g. a feature flag is disabled and the autoloader cannot find the associated classes, e.g. Symfony\Contracts\EventDispatcher\Event.
To reproduce
Sample code (optional)
No response
Version
v1.5.081
Expected behavior
isEnabled()
returnsfalse
instead of throwing an error or exception.Logs (optional)
No response
Additional context (optional)
No response
The text was updated successfully, but these errors were encountered: