-
|
I have a json that have a property that is (kind of) randomly an object instead of a string. When I define the phpdoc of the property to And if I write it as Apparently, transformers are only used for serializer, and not for mapper, so I can't use it. Do you have any way to do that ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 11 replies
-
|
Hi @momala454, thanks for posting here. A property typed as a The I may add attribute support for local alteration of a source value, but works on this task have not yet begun. |
Beta Was this translation helpful? Give feedback.
-
|
Closing, as converters should now solve this particular usecase, see documentation about this for more info. |
Beta Was this translation helpful? Give feedback.
Closing, as converters should now solve this particular usecase, see documentation about this for more info.