Skip to content

Change WebhookEventCollectionBuilder to set collection#15351

Merged
Zeegaan merged 3 commits intov13/devfrom
v13/feature/webhookevents-set
Dec 5, 2023
Merged

Change WebhookEventCollectionBuilder to set collection#15351
Zeegaan merged 3 commits intov13/devfrom
v13/feature/webhookevents-set

Conversation

@ronaldbarendse
Copy link
Copy Markdown
Contributor

Prerequisites

  • I have added steps to test this contribution in the description below

Description

As discussed in #15345 (comment), the UI for webhook events now contains a search bar and already orders them by eventName, so there's no reason for registering them in any specific order.

Although changing the base class from OrderedCollectionBuilderBase to SetCollectionBuilderBase is a simple change, it does mean you have to use Add<T>() instead of Append<T>() to add registrations, which does mean it's a breaking change. I don't think it warrants adding a similar method that simply forwards Append<T>() => Add<T>(), as we've only released it in RCs and should keep the final release as clean as possible.

@ronaldbarendse
Copy link
Copy Markdown
Contributor Author

ronaldbarendse commented Dec 4, 2023

I've updated this PR to fix/also update the AddHealthCheck() extension method that was added in #15337 👍🏻

@Zeegaan
Copy link
Copy Markdown
Member

Zeegaan commented Dec 5, 2023

LGTM 🚀

@Zeegaan Zeegaan merged commit c598171 into v13/dev Dec 5, 2023
@Zeegaan Zeegaan deleted the v13/feature/webhookevents-set branch December 5, 2023 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants