Skip to content

Commit e6d1b0b

Browse files
committed
Give all generated files a .generated.cs filename suffix
This not only helps to clearly distinguish that the files are generated (as opposed to hand-written), but should also help prevent tools and analyzers spending resources on analyzing the files. type: feature scope: graphql-parser
1 parent 6239ea5 commit e6d1b0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ShopifySharp.GraphQL.Parser/FileSystem.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ module FileSystem =
6868
.AddMembers(ns.WithMembers(SyntaxFactory.SingletonList<MemberDeclarationSyntax>(type')))
6969
.NormalizeWhitespace(eol = Environment.NewLine)
7070

71-
{ FileName = type'.Identifier.Text + ".cs"
71+
{ FileName = type'.Identifier.Text + ".generated.cs"
7272
FileText = unit.ToFullString() }
7373
)
7474
})

0 commit comments

Comments
 (0)