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
Currently, there are multiple different "result" enums like the GetResult that have Error, Success and NotFound; PutResult that have Error, Created and NewVersion; DeleteResult that has Deleted, Error and Noop, etc etc.
I propose we standardize at the very least the Error and Success responses, and have additional operation-specific results. This would mean changing PutResult to have Error and Success (with a message for the new version), DeleteResult to be Error, Success (with a message for noop) etc.
The text was updated successfully, but these errors were encountered:
Currently, there are multiple different "result" enums like the GetResult that have Error, Success and NotFound; PutResult that have Error, Created and NewVersion; DeleteResult that has Deleted, Error and Noop, etc etc.
I propose we standardize at the very least the
Error
andSuccess
responses, and have additional operation-specific results. This would mean changingPutResult
to have Error and Success (with a message for the new version),DeleteResult
to be Error, Success (with a message for noop) etc.The text was updated successfully, but these errors were encountered: