Skip to content

Commit

Permalink
EES-5656 No need to use RequiredAttribute with nullable context ena…
Browse files Browse the repository at this point in the history
…bled
  • Loading branch information
benoutram committed Dec 9, 2024
1 parent b6e1c33 commit 504166c
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -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; }
}

Expand Down

0 comments on commit 504166c

Please sign in to comment.