using IdentityShroud.Core.Model; using Riok.Mapperly.Abstractions; namespace IdentityShroud.Api.Mappers; [Mapper] public partial class ClientMapper { // skipping secret as we do not have the DEK [MapperIgnoreSource(nameof(Client.Secrets))] [MapperIgnoreTarget(nameof(ClientRepresentation.Secret))] public partial ClientRepresentation ToDto(Client client); }