Background
The upstream GitLab Go client already supports parsing MilestoneWebhookEvent in ParseWebhook(...):
However, the dispatcher in this repository does not currently support routing *gitlab.MilestoneWebhookEvent.
Problem
Although MilestoneWebhookEvent can already be parsed by the upstream client, it cannot be dispatched further in this project, which effectively makes it unsupported here.
Expected
Add dispatcher support for MilestoneWebhookEvent, including:
- listener definition
- listener registration
- a
Dispatch(...) branch
- the corresponding handler function
- basic tests
Acceptance Criteria
Dispatcher.Dispatch(...) can handle *gitlab.MilestoneWebhookEvent
- dispatching
*gitlab.MilestoneWebhookEvent no longer returns ErrUnsupportedEvent
- registered listeners are invoked correctly
Background
The upstream GitLab Go client already supports parsing
MilestoneWebhookEventinParseWebhook(...):However, the dispatcher in this repository does not currently support routing
*gitlab.MilestoneWebhookEvent.Problem
Although
MilestoneWebhookEventcan already be parsed by the upstream client, it cannot be dispatched further in this project, which effectively makes it unsupported here.Expected
Add dispatcher support for
MilestoneWebhookEvent, including:Dispatch(...)branchAcceptance Criteria
Dispatcher.Dispatch(...)can handle*gitlab.MilestoneWebhookEvent*gitlab.MilestoneWebhookEventno longer returnsErrUnsupportedEvent