Indicia-Team / warehouse

GNU General Public License v3.0
5 stars 3 forks source link

Make REST API return and accept model boolean attributes as true/false instead of 't'/'f' #525

Open kazlauskis opened 1 month ago

kazlauskis commented 1 month ago

The REST API interface returns and accepts boolean values as 't' or 'f' instead of true or false. To differentiate these values from regular text attributes, clients need to maintain a list of all the warehouse core boolean attributes and convert them from 't' or 'f' to true or false when communicating with the warehouse.