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
I've considered this, but probably the approach I would take is to add a .get() to FollowResource, so you could do:
this.ketting.follow('current-user').get()
The awkward thing here is (and also with your suggestion) is 'where does this stop'. Should we replicate the entire Resource api on FollowResource? Someone else might want put, head, post, etc.
So all of this is to say that, I agree that the API is a bit awkward for this and wish it weren't, but i'm not entirely sure what a good solution is that will work for more cases
Often, I need to use the following construct:
I think it would be nice to have a shortcut like this:
What do you think? :)
The text was updated successfully, but these errors were encountered: