Can not create again route with the same path after it was deleted
GNazar opened this issue · comments
GNazar commented
Steps:
- Create route with path
/test
- Delete route with path
/test
- Create route with path
/test
.
Result: Can't create route, error ocurred "The server encountered an internal error and was unable to complete your request."
Christoph Kappestein commented
Hi, so the reason for this behaviour is, that if you delete a route we only mark the route as deleted, we dont actually delete the route from the table. This has the benefit, that you can restore the route in case of an error and all related log entries etc. are valid. Because of this you cant create the same route again but you can easily restore the deleted route.
GNazar commented
Understood, thank you