From f1afd41888a8271b01a747d2de8619bd3c962caa Mon Sep 17 00:00:00 2001 From: Jean Gatto Date: Fri, 22 Aug 2025 09:39:16 -0300 Subject: [PATCH] refactor: improve formatting and documentation in IEntity and IResponse interfaces --- src/Shop.Core/SharedKernel/IEntity.cs | 3 ++- src/Shop.Core/SharedKernel/IResponse.cs | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Shop.Core/SharedKernel/IEntity.cs b/src/Shop.Core/SharedKernel/IEntity.cs index afcaf40..ee68f47 100644 --- a/src/Shop.Core/SharedKernel/IEntity.cs +++ b/src/Shop.Core/SharedKernel/IEntity.cs @@ -11,7 +11,8 @@ public interface IEntity; /// This is the base interface for all entities with a key. /// /// The type of the entity key. -public interface IEntity : IEntity where TKey : IEquatable +public interface IEntity : IEntity + where TKey : IEquatable { /// /// Gets the ID of the entity. diff --git a/src/Shop.Core/SharedKernel/IResponse.cs b/src/Shop.Core/SharedKernel/IResponse.cs index 9192777..c9d0152 100644 --- a/src/Shop.Core/SharedKernel/IResponse.cs +++ b/src/Shop.Core/SharedKernel/IResponse.cs @@ -1,3 +1,6 @@ namespace Shop.Core.SharedKernel; +/// +/// Represents a response from a query. +/// public interface IResponse; \ No newline at end of file