1
0
Fork 0
mirror of synced 2024-07-07 23:46:11 +12:00

Handle datetime model rules

This commit is contained in:
Jake Barnby 2022-09-20 19:24:54 +12:00
parent 48ede78894
commit fd37df5f9c
No known key found for this signature in database
GPG key ID: C437A8CC85B96E9C

View file

@ -35,6 +35,7 @@ class TypeRegistry
Model::TYPE_JSON => self::json(),
Response::MODEL_NONE => self::json(),
Response::MODEL_ANY => self::json(),
Model::TYPE_DATETIME => Type::string(),
];
self::$defaultDocumentArgs = [
'id' => [