Skip to content

Commit 6143624

Browse files
committed
fullmodelgenerator
1 parent dbe1419 commit 6143624

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Generators/Foundation/Codelisk.Foundation.Generator/Generators/FullModelGenerator.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ IEnumerable<RecordDeclarationSyntax> baseDtos
6161
.WithAccessModifier(Accessibility.Public);
6262
result
6363
.AddConstructor()
64+
.AddAttribute("System.Diagnostics.CodeAnalysis.SetsRequiredMembersAttribute")
6465
.AddParameter(dto.GetName(), dto.GetName().GetParameterName())
6566
.WithBody(x =>
6667
{

0 commit comments

Comments
 (0)