Skip to content

Commit ad0cf48

Browse files
committed
- fixes a bug where Edm.Decimal would not be mapped properly in Java
1 parent d07281f commit ad0cf48

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/GraphODataTemplateWriter/CodeHelpers/Java/TypeHelperJava.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ public static string GetTypeString(this OdcmType @type)
5353
return "byte[]";
5454
case "Single":
5555
return "float";
56+
case "Decimal":
57+
return "java.math.BigDecimal";
5658
default:
5759
return @type.Name.ToUpperFirstChar();
5860
}

0 commit comments

Comments
 (0)