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
Some flags are sensitive, if it's deleted, make sure it's also easy to restore as well. Currently, in gorm, everything is soft deleted. I think this feature will need the following changes:
UI front page, to not only show the current flags, but also a section to show deleted flags.
A new parameter in GET /flags?deleted=true to get deleted flags
A new route POST /flags/<id>/restore to restore deleted flags
A new UI button to restore deleted flags
The text was updated successfully, but these errors were encountered:
@zhouzhuojie By POST /flags/<id>/restore do you mean by creating a new flag with values same as deleted ? I think that is the way because DelatedAt of gorm Model is updatable.
Some flags are sensitive, if it's deleted, make sure it's also easy to restore as well. Currently, in gorm, everything is soft deleted. I think this feature will need the following changes:
GET /flags?deleted=true
to get deleted flagsPOST /flags/<id>/restore
to restore deleted flagsThe text was updated successfully, but these errors were encountered: