Skip to content

Commit 7ed2489

Browse files
committed
TODO: disable Java fix for now to unblock namespace processing
1 parent 09cc873 commit 7ed2489

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/GraphODataTemplateWriter/Extensions/OdcmModelExtensions.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,9 @@ public static string GetFullyQualifiedImportStatementForModel(this CustomT4Host
204204
if (shouldDisambiguate)
205205
{
206206
// Form the import statement to disambiguate the model in the generated code file.
207-
var thisNamespace = host.CurrentModel.NamespaceName();
208-
var thisTypeName = (host.CurrentType as OdcmProperty).Type.Name.ToUpperFirstChar();
209-
importStatement = $"\nimport {thisNamespace}.models.extensions.{thisTypeName};";
207+
//var thisNamespace = host.CurrentModel.NamespaceName();
208+
//var thisTypeName = (host.CurrentType as OdcmProperty).Type.Name.ToUpperFirstChar();
209+
//importStatement = $"\nimport {thisNamespace}.models.extensions.{thisTypeName};";
210210
}
211211

212212
return importStatement;

0 commit comments

Comments
 (0)