Closed niteen1593 closed 3 months ago
Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.
Thanks @taylorotwell for reviewing my PR. I have gone through changes made in this PR multiple times And think this will be great option if it will part of framework that will help users to ignore request path directly from framework config instead of pulling one more package to achieve this simple functionality. Thanks
This pull request introduces a new configuration option,
ignore_paths
, to theRequestWatcher
class in Telescope.Motivation: Currently, Telescope provides a global configuration option to specify paths to be ignored, but there isn't a way to ignore specific request URIs at the level of the
RequestWatcher
class. Consequently, when we configureignore_paths
globally, it applies to all watchers exceptQueryWatcher
. This limitation prevents monitoring of other watchers such asJobWatcher
.By default, Telescope ignores certain paths like
However, this global setting ignores all livewire request so we can't monitor
Event
,Job
orJob Batch
dispatched in livewire request. This pull request resolves this issue by allowing for more granular control over ignored paths within theRequestWatcher
.