Hateoas icon indicating copy to clipboard operation
Hateoas copied to clipboard

Symfony serializer support

Open adrienbrault opened this issue 9 years ago • 7 comments

I think this would be interesting and not that hard to do.

Thoughts ? :smiley:

adrienbrault avatar Jun 01 '15 14:06 adrienbrault

Given how slow the JMS serializer is evolving, it would probably worth supporting the Symfony serializer. /ping @dunglas

willdurand avatar Jun 01 '15 14:06 willdurand

In that case, what do you think about adding HAL and VndErrorRepresentation support to DunglasApiBundle. I've started a POC about that (but not finished it yet) and it shouldn't be hard: creating some new normalizers and refactoring a bit the ResourceController should do the trick.

dunglas avatar Jun 01 '15 14:06 dunglas

What I don't like is the all-in-a-bundle approach...

willdurand avatar Jun 01 '15 14:06 willdurand

The work to extract the reusable code from the bundle is already done at code level. I've kept everything in a bundle for now because it's simpler to manage and ease contributions but if it's really something that can help merging both projects I'm ok to split it.

dunglas avatar Jun 01 '15 14:06 dunglas

@willdurand , @dunglas , it would be fantastic if this library supports Symfony serializer, so we can use this bundle with api platform together, @willdurand , api platform is very good solution for api, can you let this library support Symfony serializer please?

videni avatar Sep 03 '18 07:09 videni

currently , api platform is lack of api relation customization, maybe the relation part can be splited.

videni avatar Sep 03 '18 07:09 videni

any update for this need ?

karousn avatar Sep 15 '21 08:09 karousn