scramble icon indicating copy to clipboard operation
scramble copied to clipboard

date model attributes have object type instead of string type

Open layerok opened this issue 1 year ago • 1 comments

This is regression of https://github.com/dedoc/scramble/issues/239

As I understood this bug was reintroduced after adding support for inferring types of model attributes from model casts https://github.com/dedoc/scramble/blob/4752b9897138dd71ffd2d8aa374967801e21f97e/src/Support/InferExtensions/ModelExtension.php#L133-L134

layerok avatar Sep 13 '24 14:09 layerok

@layerok I would be happy to accept a PR for this issue with some tests 😇

romalytvynenko avatar Sep 15 '24 10:09 romalytvynenko