Webhooks: Reverts nullability update to continue to allow derived classes to create null payloads (#20660)

* Trees: Restore backward compatibility for file system based tree controllers (closes #20602) (#20608)

* Restore backward compatibility for file system based tree controllers.

* Aligned obsoletion messages.

* Reverts nullability update on ConvertNotificationToRequestPayload.
This commit is contained in:
Andy Butland
2025-10-27 13:11:51 +01:00
committed by GitHub
parent 399431b02d
commit d3b9256b4e

View File

@@ -103,6 +103,6 @@ public abstract class WebhookEventBase<TNotification> : IWebhookEvent, INotifica
/// </summary>
/// <param name="notification"></param>
/// <returns></returns>
public virtual object ConvertNotificationToRequestPayload(TNotification notification)
public virtual object? ConvertNotificationToRequestPayload(TNotification notification)
=> notification;
}