Skip to content

Commit

Permalink
Fixed issue in scalar template
Browse files Browse the repository at this point in the history
  • Loading branch information
joadan committed Sep 6, 2024
1 parent c3bec5b commit da7a78c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public ScalarTemplate(GraphqlType scalarType, string namespaceName)
}

private string className => scalarType.Name;
private string classDescription => scalarType.Description;
private string classDescription => scalarType.Description ?? className;



Expand Down

0 comments on commit da7a78c

Please sign in to comment.