Comments (12)
Yep. We need to mimic what the JMSSerializerBundle provides :)
from bazingahateoasbundle.
@docteurklein contributions are welcomed :) also, give me the name of your book :p
from bazingahateoasbundle.
sure :) I'll do as soon as possible.
from bazingahateoasbundle.
the book is https://github.com/RESTful-Web-APIs
It has a github! isn't that cool ? :)
from bazingahateoasbundle.
added to my wish list, we never know :D
from bazingahateoasbundle.
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.
from bazingahateoasbundle.
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.
from bazingahateoasbundle.
ahhh, ok. I did not know that. Thanks.
from bazingahateoasbundle.
May be this should be added in the doc, because it is not so obvious
from bazingahateoasbundle.
However, this should be documented.
from bazingahateoasbundle.
Yes, sure. Actually, this bundle needs some love.
from bazingahateoasbundle.
So, multiple issues:
- No bundle configuration to use another XML Serializer
- No bundle configuration to use another JSON Serializer
- No bundle configuration to configure context variables
- No extension point (tag) configure a service as a context variable
- No extension point (tag) to register an expression function
- No extension point (tag) to register a relation provider resolver
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.
from bazingahateoasbundle.
Related Issues (20)
- New Tag for Symfony 6 HOT 1
- Symfony 7 support HOT 2
- Symfony 7: Service "annotation_reader" is no longer available HOT 2
- Release v1.1.2 HOT 3
- Implement PSR-13 HOT 2
- Incorrect version required in composer.json HOT 1
- Update dependency for jms/serializer-bundle HOT 1
- when will a new release be tagged? HOT 2
- Deprectation Notices in Symfony 3.3 HOT 2
- 500 ERROR HOT 1
- Change Symfony2 to Symfony in README.md HOT 1
- Twig extension loading configuration HOT 2
- Release 1.3.1 or 1.4.0 with latest changes HOT 4
- Xml Configuration HOT 1
- Override Groups Deeper Branches fails
- Add cache warmer HOT 8
- Why the ExtensionDriver is only enabled for annotation driver? HOT 1
- Symfony 5 HOT 2
- Enable Metadata\MetadataFactory::setIncludeInterfaces() HOT 2
- PHP8 support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bazingahateoasbundle.