Skip to content

Commit

Permalink
fix: remove interface from attribute targets on the mapper attribute
Browse files Browse the repository at this point in the history
Mapperly does not work with interfaces since v2.0.0
  • Loading branch information
latonz committed Aug 28, 2023
1 parent 71cbfdd commit 2f03f99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Riok.Mapperly.Abstractions/MapperAttribute.cs
Expand Up @@ -3,9 +3,9 @@
namespace Riok.Mapperly.Abstractions;

/// <summary>
/// Marks an abstract class or an interface as a mapper.
/// Marks partial class as a mapper.
/// </summary>
[AttributeUsage(AttributeTargets.Interface | AttributeTargets.Class)]
[AttributeUsage(AttributeTargets.Class)]
public sealed class MapperAttribute : Attribute
{
/// <summary>
Expand Down

0 comments on commit 2f03f99

Please sign in to comment.