We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b481444 commit 5cbb03fCopy full SHA for 5cbb03f
Templates/PHP/Model/EntityType.php.tt
@@ -266,6 +266,8 @@ if (property.Type.GetTypeString()[0] == '\\') { #>
266
foreach ($serializableProperties as $property => $val) {
267
if (is_a($val, "\DateTime")) {
268
$serializableProperties[$property] = $val->format(\DateTime::RFC3339);
269
+ } else if (is_a($val, "\Microsoft\Graph\Core\Enum")) {
270
+ $serializableProperties[$property] = $val->value();
271
}
272
273
return $serializableProperties;
0 commit comments