Skip to content

Commit 4081f94

Browse files
author
Caitlin Bales (MSFT)
committed
Update JSON and Date types
1 parent 4ceee74 commit 4081f94

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/GraphODataTemplateWriter/CodeHelpers/PHP/TypeHelperPHP.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ public static string GetTypeString(this OdcmType @type)
4141
switch (@type.Name)
4242
{
4343
case "String":
44+
case "Json":
4445
return "string";
4546
case "Int8":
4647
case "Int16":
@@ -52,6 +53,7 @@ public static string GetTypeString(this OdcmType @type)
5253
case "Guid":
5354
return "UUID";
5455
case "DateTimeOffset":
56+
case "Date":
5557
return "datetime";
5658
case "Boolean":
5759
return "bool";

0 commit comments

Comments
 (0)