From 504166c925bf221d0cb78c86c2c58b868dd087f6 Mon Sep 17 00:00:00 2001 From: Ben Outram Date: Mon, 9 Dec 2024 18:18:42 +0000 Subject: [PATCH] EES-5656 No need to use `RequiredAttribute` with nullable context enabled --- .../Requests/ReleaseSeriesItemRequests.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/GovUk.Education.ExploreEducationStatistics.Admin/Requests/ReleaseSeriesItemRequests.cs b/src/GovUk.Education.ExploreEducationStatistics.Admin/Requests/ReleaseSeriesItemRequests.cs index cd020aeaad..33ca1bdb6e 100644 --- a/src/GovUk.Education.ExploreEducationStatistics.Admin/Requests/ReleaseSeriesItemRequests.cs +++ b/src/GovUk.Education.ExploreEducationStatistics.Admin/Requests/ReleaseSeriesItemRequests.cs @@ -1,15 +1,12 @@ #nullable enable using System; -using System.ComponentModel.DataAnnotations; namespace GovUk.Education.ExploreEducationStatistics.Admin.Requests; public record ReleaseSeriesLegacyLinkAddRequest { - [Required] public required string Description { get; init; } - [Required] public required string Url { get; init; } }