Skip to content

Ensure Project Approvals attributes (and API) casts to boolean

What does this MR do?

If the project's approval settings are unmodified/uncreated (say, for a newly created Project) the API currently returns these as null. In Ruby-land, we're very casual with letting nil/null values be falsey, but our API documents these as boolean, and it does create confusion and hassle for API consumers to handle, so this MR explicitly casts these values to boolean.

Related to #290254 (closed)

Edited by Kerri Miller

Merge request reports