Skip to content

Commit

Permalink
Remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
oskogstad committed Oct 4, 2024
1 parent 19ec1f6 commit 1309c2b
Showing 1 changed file with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,6 @@ namespace Digdir.Domain.Dialogporten.Application.Features.V1.Common.Content;
// The validator is manually created in the Create and Update validators
internal interface IIgnoreOnAssemblyScan;

// internal sealed class ContentFoo : AbstractValidator<LocalizationDto>
// {
// public ContentFoo()
// {
//
// RuleFor(x => x.Value)
// .IsValidHttpsUrl()
// // .Must(x => Uri.TryCreate(x.Value, UriKind.Absolute, out var uri) && uri.Scheme == Uri.UriSchemeHttps)
// // .IsValidHttpsUrl()
// .When((x, y) => x.MediaType is not null && x.MediaType.StartsWith(MediaTypes.EmbeddablePrefix, StringComparison.InvariantCultureIgnoreCase))
// // .WithMessage("{PropertyName} must be a valid HTTPS URL for embeddable content types");
// }
// }
internal sealed class ContentValueDtoValidator : AbstractValidator<ContentValueDto>, IIgnoreOnAssemblyScan
{
private const string LegacyHtmlMediaType = "text/html";
Expand Down

0 comments on commit 1309c2b

Please sign in to comment.