Skip to content

Commit

Permalink
chore: Minor typos (#615)
Browse files Browse the repository at this point in the history
🧹
  • Loading branch information
oskogstad authored Apr 10, 2024
1 parent f13c8b9 commit 8819b98
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ await result.Match(
dto => SendOkAsync(dto, ct),
notFound => this.NotFoundAsync(notFound, ct),
deleted => this.GoneAsync(deleted, ct),
forbiden => this.ForbiddenAsync(forbiden, ct));
forbidden => this.ForbiddenAsync(forbidden, ct));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public override void Configure()
Policies(AuthorizationPolicy.ServiceProvider);
Group<ServiceOwnerGroup>();

Description(b => GetDiailogElementSwaggerConfig.SetDescription(b));
Description(b => GetDialogElementSwaggerConfig.SetDescription(b));
}

public override async Task HandleAsync(GetDialogElementQuery req, CancellationToken ct)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

namespace Digdir.Domain.Dialogporten.WebApi.Endpoints.V1.ServiceOwner.DialogElements.Get;

public class GetDiailogElementSwaggerConfig : ISwaggerConfig
public class GetDialogElementSwaggerConfig : ISwaggerConfig
{
public static string OperationId => "GetDialogElementSO";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public enum AggregateNodeState
Modified = 2,

/// <summary>
/// The entity, or part of its aggregate parent chain have been marked for deleation.
/// The entity, or part of its aggregate parent chain have been marked for deletion.
/// </summary>
Deleted = 3,

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ public interface IAggregateDeletedHandler
public interface IAggregateRestoredHandler
{
/// <summary>
/// Handles the restauration of the entity, including associated metadata.
/// Handles the restoration of the entity, including associated metadata.
/// </summary>
/// <param name="self">The aggregate representing this entity with metadata.</param>
/// <param name="utcNow">The timestamp of the restauration event in UTC time.</param>
/// <param name="utcNow">The timestamp of the restoration event in UTC time.</param>
void OnRestore(AggregateNode self, DateTimeOffset utcNow);
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace Digdir.Library.Entity.Abstractions.Features.EventPublisher;
public interface IDomainEvent : INotification
{
/// <summary>
/// The events identification. This can be used by consumers to ensure exacly once processing.
/// The events identification. This can be used by consumers to ensure exactly once processing.
/// </summary>
Guid EventId { get; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,8 @@ private static async Task AddAggregateChildChain(
var childNav = parentEntry.Navigation(childForeignKey.PrincipalToDependent!.Name);
// if (!childNav.IsLoaded)
// {
// // Alternativ 1: Throw!
// // Alternativ 2: Log Warning!
// // Alternative 1: Throw!
// // Alternative 2: Log Warning!
// }
await childNav.LoadAsync(cancellationToken);
var currentValues = childNav.Metadata.IsCollection
Expand Down

0 comments on commit 8819b98

Please sign in to comment.