Skip to content

Commit 347787b

Browse files
committed
add Date to Core type implementation list
1 parent 506d47d commit 347787b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GraphODataTemplateWriter/CodeHelpers/CSharp/TypeHelperCSharp.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ public static string GetTypeString(this OdcmType type, string namespaceContext,
177177
var plainTypeString = type.GetTypeString();
178178

179179
// refer to core implementation when they are available for Edm types
180-
var coreModelTypes = new List<string> { "Duration", "TimeOfDay" }; // TODO list not complete.
180+
var coreModelTypes = new List<string> { "Date", "Duration", "TimeOfDay" };
181181
if (typesNamespace == "Edm" && coreModelTypes.Contains(plainTypeString))
182182
{
183183
typesNamespace = "Microsoft.Graph";

0 commit comments

Comments
 (0)