Closed javiereguiluz closed 6 years ago
We need a volunteer to contribute these docs. Someone expert in the Serializer component: @dunglas, @lyrixx, @Simperfit? Thanks!
Should we really document it ? I mean, it's just about doing $this->serializer->serialize($errors);
I think you are right. In the future we may add some brief mention somewhere if we think it's necessary. Thanks!
We should at least add it to the list of available normalizers. People using directly the component have no way to discover this feature.
Let's reopen then. But we'll need a volunteer to do this. Thanks!
Fixed by #9855.
Thank you very much @javiereguiluz
https://github.com/symfony/symfony/pull/22150
It normalizes ConstraintViolationListInterface instances according to RFC7807.