-
-
Notifications
You must be signed in to change notification settings - Fork 312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot guess property of type array<subType> #199
Comments
@schmittjohshould the ArrayCollection handler become a CollectionHandler to match based on the Collection interface instead ? |
Not sure whether we should make this the default for all collections, but we should handle the built-in collections at least. |
Can you check whether it works after my latest commit? |
Sure ! I will do it as soon as I cet a computer, in about 4hours. Michel Salib De : Johannes Can you check whether it works after my latest commit? Reply to this email directly or view it on GitHub: |
After reading this b8d0072 it worked like a charm. Thanks for your help :) |
fix issue schmittjoh#199: "array" type ignoring DateTime format
See the discussion here : c263aba#commitcomment-1996754
It seems that the commit broke the ability of the serializer to guess correct type when property is an array of sub object.
To add more insight, it happened to me when the property is a PersistenCollection of doctrine entity.
The text was updated successfully, but these errors were encountered: