Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It should provide a way to get a HateoasBuilder instance from the container #15

Open
docteurklein opened this issue Dec 19, 2013 · 12 comments

Comments

@docteurklein
Copy link

No description provided.

@willdurand
Copy link
Owner

Yep. We need to mimic what the JMSSerializerBundle provides :)

@willdurand
Copy link
Owner

@docteurklein contributions are welcomed :) also, give me the name of your book :p

@docteurklein
Copy link
Author

sure :) I'll do as soon as possible.

@docteurklein
Copy link
Author

the book is https://github.com/RESTful-Web-APIs
It has a github! isn't that cool ? :)

@willdurand
Copy link
Owner

added to my wish list, we never know :D

@lyrixx
Copy link
Contributor

lyrixx commented Jan 15, 2014

Ah ok, The bundle does provide an instance of the Hateoas serializer ?
So, what does it do? I don't understand. I think it lakes of documentation.

@willdurand
Copy link
Owner

Well, the bundle does not do anything. It wires Hateoas stuff to the Serializer.

You have to use the serializer service from JMSSerializerBundle, nothing else.

@lyrixx
Copy link
Contributor

lyrixx commented Jan 15, 2014

ahhh, ok. I did not know that. Thanks.

@lyrixx
Copy link
Contributor

lyrixx commented Jan 15, 2014

May be this should be added in the doc, because it is not so obvious

@willdurand
Copy link
Owner

However, this should be documented.

@willdurand
Copy link
Owner

Yes, sure. Actually, this bundle needs some love.

@adrienbrault
Copy link
Contributor

So, multiple issues:

Another issue is that is it not currently possible to use multiple XML Serializers or JSON Serializer with the same compiled container.
We could fix that by naming the serializers, and configuring the XML/JSON serializer to use using a subclass of the SerializationContext. This one is mostly about a library refactoring.
We would also then use tags to register XML/JSON serializers.

Let me know if I have missed anything. I will create issues for each of those.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants