09.
Evaluating the Link Expression
Keep on Learning!
If you liked what you've learned so far, dive in! Subscribe to get access to this tutorial plus video, code and script downloads.
If you liked what you've learned so far, dive in! Subscribe to get access to this tutorial plus video, code and script downloads.
Whoops, an error! Please, try again later.
6 Comments
"That would be to go into PaginatedCollection and replace its links with the @Link annotation. This would be a little bit of work, but I believe in you!"
Any else tips for do this????? :)
Hey!
Here's the solution :). It indeed was a bit more complex than I originally thought - sorry about that! https://gist.github.com/wea...
Cheers!
I try implement this now and for this work i need change PaginatedCollection.php because on do serializer for this class, he add _links and LinkSerializationSubscriber.php add _links too. Soo i add @Serializer\ExclusionPolicy("all") and works fine.
https://gist.github.com/nea...
Awesome work :). I just finished coding up episode *5*, where we'll use the HATEOAS library (github.com/willdurand/hateoas) to do even a bit more with links. It doesn't offer any big advantages, but I think you'll find it interesting. It should come out next month.
Keep up the good work!
Yeah!!!!! Awesome!!
Wooow!!! I was much too close to your code! Thanks for clarifying my doubts!! Learning all this is awesome!!!!!
SF + KNPU === \o/
"Houston: no signs of life"
Start the conversation!