You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Film title on right is not populated. What's the best manner to fill object by $film->url ?
My idea is separate id from url and use it in FilmEndpoint get method. Is there another clean way?
Thanks for you work!
The text was updated successfully, but these errors were encountered:
Yeah, so I wanted to do an invisible lazy-load here - where you access $v->films[0] and it goes away and gets the full Film object for you. It's a bit fiddly with JsonMapper so I'll have a think about the best way to do that.
In the meantime, I've added a method in v0.2.0 that allows you to get a resource by it's URI:
Hello,
from you example:
Film title on right is not populated. What's the best manner to fill object by $film->url ?
My idea is separate id from url and use it in FilmEndpoint get method. Is there another clean way?
Thanks for you work!
The text was updated successfully, but these errors were encountered: