1. 7

  2. 6

    The last point is also known as boolean blindness. However, I always found the support for enums (let alone adt) in databases to be quite poor, there isn’t much in term of validation or constraints :(

    1. 3
    2. 2

      The same applies to using bool in something like a gRPC request (or any typed request), much of the time you really want an enum: “unknown”, “set_true”, “set_false”