The index defines a WebhookRepository, but there is no way to create any webhooks, so the repository is never actually populated. As a result, any queries will always return empty.
Should we remove the WebhookRepository and related usages, and the @Document annotation on Webhook?
This was introduced as part of 38a5fbd (back in 2020). However, no rationale was provided, so it is not clear whether the save functionality was not implemented yet, or whether it was some legacy thing that can be removed. Actually the whole webhook functionality is undocumented...
The index defines a
WebhookRepository, but there is no way to create any webhooks, so the repository is never actually populated. As a result, any queries will always return empty.Should we remove the
WebhookRepositoryand related usages, and the@Documentannotation onWebhook?This was introduced as part of 38a5fbd (back in 2020). However, no rationale was provided, so it is not clear whether the save functionality was not implemented yet, or whether it was some legacy thing that can be removed. Actually the whole webhook functionality is undocumented...