Hateoas
Hateoas copied to clipboard
Symfony serializer support
I think this would be interesting and not that hard to do.
Thoughts ? :smiley:
Given how slow the JMS serializer is evolving, it would probably worth supporting the Symfony serializer. /ping @dunglas
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.
What I don't like is the all-in-a-bundle approach...
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.
@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?
currently , api platform is lack of api relation customization, maybe the relation part can be splited.
any update for this need ?