Asmir Mustafic

Results 546 comments of Asmir Mustafic

autowiring should do the job. If you typehing your controller/service with `Jms\Serialier\SerializerInterface`, DI should do the Job for you.

i guess so.. do not understand the question to be honest.

Still do not understand. Are you trying to report a bug, a feature request or something else?

The main trick here are the interaction between the changes in the graph navigator and the visitor

@kunicmarko20 I've found some time to work on this. Te current approach allows to set the property type as nullable (like php 7.4 typed props). Something as: ```php class BlogPost...

If `$context->shouldDeserializeNull()` is not called, `?` is just ignored. When `$context->shouldDeserializeNull()` is called then the props having `?` in the type declaration will be null if the JSON contains null.

> ah, so you need to enable it and then select which properties this works on? yes. main reason backward compatibility. Thinking it twice, having `?` could be enough, so...

> Ye, it looks like shouldDeserializeNull is not needed anymore since you need to add ? to your configuration and that should be BC? No, the `?` is not a...

> Also the target doesn't have to be master anymore What do you mean?

The master branch is targeting 3.1 and not 4.x. There are not yet any plans for a new major, so I'm keeping one branch less to manage