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
For when you know the object you have is no longer up to date with what's on the server, or you want to make sure it is.
Resources should know their base url and guid is in their data, so I'd expect we could have a method on the base Resource class that should work for all subclasses.
The text was updated successfully, but these errors were encountered:
Whoops. I failed to read the description carefully.
Unfortunately, this abstraction isn't as clean as I had hoped. The HTTP method varies by resource. There are variations of PUT, PATCH, and GET. Also, some require additional business logic to accommodate API behavior.
For when you know the object you have is no longer up to date with what's on the server, or you want to make sure it is.
Resources should know their base url and guid is in their data, so I'd expect we could have a method on the base
Resource
class that should work for all subclasses.The text was updated successfully, but these errors were encountered: