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
As a developer, I expect refresh! to update the caller with the most recent data available from the Trello API. I discovered this not to be the case while working on #208 .
An example:
@card# => badges: {votes: 0}# some other user acting on the same card:@card.upvote# => badges: {votes: 1}# back to me@card.refresh!# => badges: {votes: 0}, should be votes: 1
It seems that the client calls #get and fetches the new data, but the object is not updated with the most recent data.
The text was updated successfully, but these errors were encountered:
As a developer, I expect
refresh!
to update the caller with the most recent data available from the Trello API. I discovered this not to be the case while working on #208 .An example:
It seems that the client calls #get and fetches the new data, but the object is not updated with the most recent data.
The text was updated successfully, but these errors were encountered: