From 8d97007f4299596dcb8a91b94dbd44ab5c89e19b Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 18 Dec 2024 02:44:48 +0000 Subject: [PATCH 1/2] chore(deps): update azure azure-sdk-for-net monorepo --- ...ap.DomainEventPropagation.Subscription.PullDelivery.csproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Workleap.DomainEventPropagation.Subscription.PullDelivery/Workleap.DomainEventPropagation.Subscription.PullDelivery.csproj b/src/Workleap.DomainEventPropagation.Subscription.PullDelivery/Workleap.DomainEventPropagation.Subscription.PullDelivery.csproj index 2b9d381..dbf7d34 100644 --- a/src/Workleap.DomainEventPropagation.Subscription.PullDelivery/Workleap.DomainEventPropagation.Subscription.PullDelivery.csproj +++ b/src/Workleap.DomainEventPropagation.Subscription.PullDelivery/Workleap.DomainEventPropagation.Subscription.PullDelivery.csproj @@ -17,8 +17,8 @@ - - + + From a99656cf9af42c0fe4d3856f3e848e98992dd1f7 Mon Sep 17 00:00:00 2001 From: "guillaume.caya" Date: Wed, 18 Dec 2024 16:42:08 -0500 Subject: [PATCH 2/2] Fix nullable --- src/Shared/DomainEventWrapper.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Shared/DomainEventWrapper.cs b/src/Shared/DomainEventWrapper.cs index f8e6f52..3178722 100644 --- a/src/Shared/DomainEventWrapper.cs +++ b/src/Shared/DomainEventWrapper.cs @@ -9,14 +9,14 @@ internal sealed class DomainEventWrapper { public DomainEventWrapper(EventGridEvent eventGridEvent) { - this.Data = eventGridEvent.Data.ToObjectFromJson(); + this.Data = eventGridEvent.Data.ToObjectFromJson()!; this.DomainEventName = eventGridEvent.EventType; this.DomainEventSchema = EventSchema.EventGridEvent; } public DomainEventWrapper(CloudEvent cloudEvent) { - this.Data = cloudEvent.Data!.ToObjectFromJson(); + this.Data = cloudEvent.Data!.ToObjectFromJson()!; this.DomainEventName = cloudEvent.Type; this.DomainEventSchema = EventSchema.CloudEvent; }