Skip to content

Commit

Permalink
Remove nullable attribute as it generates warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
GGG-KILLER committed Jan 22, 2024
1 parent e7f8b1f commit e2af110
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ public sealed class TreeNodeAttribute(Type treeRoot) : Attribute
{
public Type TreeRoot { get; } = treeRoot;

public string? Name { get; set; }
public string Name { get; set; }
}
2 changes: 1 addition & 1 deletion Tsu.TreeSourceGen/src/CodeConstants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public sealed class {{FullName}}(Type treeRoot) : Attribute
{
public Type TreeRoot { get; } = treeRoot;
public string? Name { get; set; }
public string Name { get; set; }
}
""";
}
Expand Down

0 comments on commit e2af110

Please sign in to comment.