-
-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: prevent duplicates attributes and base types for nested mappers (#…
…544)
- Loading branch information
1 parent
4dc9788
commit 44667c8
Showing
4 changed files
with
88 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
....MapperInNestedClassesWithAttributesShouldWork#CarFeature.Mappers.CarMapper.g.verified.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
//HintName: CarFeature.Mappers.CarMapper.g.cs | ||
// <auto-generated /> | ||
#nullable enable | ||
public static partial class CarFeature | ||
{ | ||
public static partial class Mappers | ||
{ | ||
public partial class CarMapper | ||
{ | ||
public partial int ToInt(double value) | ||
{ | ||
return (int)value; | ||
} | ||
} | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
...st.MapperInNestedClassesWithBaseTypeShouldWork#CarFeature.Mappers.CarMapper.g.verified.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
//HintName: CarFeature.Mappers.CarMapper.g.cs | ||
// <auto-generated /> | ||
#nullable enable | ||
public static partial class CarFeature | ||
{ | ||
public static partial class Mappers | ||
{ | ||
public partial class CarMapper | ||
{ | ||
public partial int ToInt(double value) | ||
{ | ||
return (int)value; | ||
} | ||
} | ||
} | ||
} |