-
-
Notifications
You must be signed in to change notification settings - Fork 934
[WIP] feat: fix #539 hal support #608
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
[WIP] feat: fix #539 hal support #608
Conversation
d952341
to
c5163f0
Compare
src/Serializer/ItemNormalizer.php
Outdated
protected function extractAttributes($object, $format = null, array $context = []) | ||
{ | ||
return []; | ||
return ['toto']; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove
ab50953
to
04672ab
Compare
8e139e1
to
14ca87b
Compare
For error serialization with HAL, we should support one of those formats: http://phlyrestfully.readthedocs.io/en/latest/problems.html |
|
||
/** | ||
* Enables JSON-LD and Hydra support. | ||
* Enables JSON-LD, HAL and Hydra support. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why the change here? hal.xml
is not being loaded here...
Simperfit feature/adding hal support
…e into feature/adding-hal-support
This is totally working with hal :
Things todo :