-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Open
Description
Description
Description:
We have been utilizing Symfony's webhooks in our software for some time now.
For this, we make use of the SendWebhookMessage
class to dispatch the message to be handled later.
Recently, we encountered a situation where we needed to verify subscriber IDs when sending webhooks.
This would ensure we do not send webhooks to a particular set of consumers.
Since the Subscriber
class does not have an ID field, we had to work around this using a custom solution somehow.
This led me to think whether the said class should have an ID field out of the box or not!
For a case like ours, it would definitely be useful and would help get rid of workarounds.
Please let me know your thoughts on this.
I could also submit a PR.
Thanks.
Example
No response