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
Certain resource actions only become available when other actions have completed, e.g. you can only delete an Event once all the Edition's have been unscheduled.
It would be nice to have a method on the resource to reload themselves by a HTTP request using the self HAL link.
await edition.related.unschedule();
await event.related.delete(); // will throw "The delete action is not available, ensure you have permission to perform this action" as the unscheduling is being processed within DC.
Proposal
Option 1
All resources had a reload() method, I could poll until the HAL link is returned...
Description
Certain resource actions only become available when other actions have completed, e.g. you can only delete an
Event
once all theEdition
's have been unscheduled.It would be nice to have a method on the resource to reload themselves by a HTTP request using the
self
HAL link.Proposal
Option 1
All resources had a
reload()
method, I could poll until the HAL link is returned...Option 2
Expose a method that poll's DC and returns when the data has changed
The text was updated successfully, but these errors were encountered: