Project

General

Profile

Task #1946

Story #1906: Review, revise, and update architecture documentation

Suggestion for removing boolean return type that can only return "true".

Added by Roger Dahl about 10 years ago. Updated about 7 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
Documentation
Target version:
Start date:
2011-10-27
Due date:
% Done:

0%

Milestone:
CCI-1.0.0
Product Version:
*
Story Points:
Sprint:

Description

In a few APIs we return a Boolean type that can only be true. It has no definition for false. So it's not really a boolean. How about we change this to a type called "success"? The new type would not be a true/false type. It would be a type that, when instantiated, contains no user data. It would be represented with a 200 OK and be returned only upon successful completion of the call. And, as now, failures would be returned as exceptions.

History

#1 Updated by Dave Vieglais about 10 years ago

  • Status changed from New to Rejected

Boolean responses are indicated by a 200 status response for success, and an exception for failure.

#2 Updated by Dave Vieglais about 7 years ago

  • Target version set to Maintenance Backlog

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)