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
The RedditAPIClient contains methods for adding, deleting and reordering sidebar Widgets. However, there is not a method for updating existing widgets, though the Widget Models appear to have create methods available (though marked with @internal).
Currently, to "update" a sidebar widget, you need to delete the existing widget, recreate the widget with changes, then potentially reorder the new widget (which is currently failing: see Issue 163). This results in 2 or 3 total API calls, instead of 1 to the existing Update Widget API.
Issue
The RedditAPIClient contains methods for adding, deleting and reordering sidebar Widgets. However, there is not a method for updating existing widgets, though the Widget Models appear to have create methods available (though marked with
@internal
).Currently, to "update" a sidebar widget, you need to delete the existing widget, recreate the widget with changes, then potentially reorder the new widget (which is currently failing: see Issue 163). This results in 2 or 3 total API calls, instead of 1 to the existing Update Widget API.
Example Usage
Temporary Workaround
This temporary workaround does appear to work, though "hacky" since it casts to
any
to get around the@internal
marked method:The text was updated successfully, but these errors were encountered: