Skip to content

Commit

Permalink
Update src/Digdir.Domain.Dialogporten.Application/Features/V1/Service…
Browse files Browse the repository at this point in the history
…Owner/Dialogs/Commands/Create/CreateDialogCommandValidator.cs

Co-authored-by: Ole Jørgen Skogstad <skogstad@softis.net>
  • Loading branch information
Fargekritt and oskogstad authored Sep 15, 2024
1 parent 82af98d commit 410c337
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,17 +133,6 @@ public CreateDialogCommandValidator(
principalKeySelector: activity => activity.Id)
.SetValidator(activityValidator);

// HUSK Å FJERN! Notes
// RuleFor Type? eller Transmission?
// Skal jeg henge meg på de andre 'RuleFor' lenger opp?
// Er dette egt rett plass?!
// FluentValidation
// Ta her e ikkje rett plass!
// DET E FOR NOTIFIKAJSONA!
// Eller er det her også
// RuleFor(x => x.Type).
// RuleFor(x => x.Transmissions)
// RuleForEach(x => x.Transmissions).Must(x => x).
RuleFor(x => x.Process)
.Must(x => Uri.IsWellFormedUriString(x, UriKind.Absolute))
.WithMessage("{PropertyName} must be a valid absolute URI.")
Expand Down

0 comments on commit 410c337

Please sign in to comment.