Skip to content

Commit a9d0e06

Browse files
committed
conditional namespace
1 parent 9362328 commit a9d0e06

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Tocsoft.GraphQLCodeGen.Cli/Templates/cs/CSharp.template

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,11 @@ using System.Threading.Tasks;
99
using Newtonsoft.Json;
1010

1111
#line hidden
12+
13+
{{#if Namespace~}}
1214
namespace {{Namespace}}
1315
{
16+
{{~/if~}}
1417
{{> ClientInterface}}
1518

1619
{{> ClientClass}}

0 commit comments

Comments
 (0)