Bug on commit decorator while raise 2xx statuses
Closed this issue · 0 comments
iRhonin commented
The commit
decorator rollback the session changes when raising 2xx statuses and its children (HTTPSuccess, HTTPNoContent, ...).
https://github.com/Carrene/restfulpy/blob/6313047f6c6cef2ed14dee82225f78bc6dff3b36/restfulpy/orm/__init__.py#L90-L93
Duplicate: #299