Loading
feat(deployments): add pending_approval_count
What?
- Add missing
pending_approval_countforDeployments(fixes #2337 (closed))
Why?
- Currently this attribute is not exposed
NOTE: As per https://docs.gitlab.com/api/deployments/ pending_approval_count is only for GitLab Premium or Ultimate.
As a result if pending_approval_count is NOT present in the API response then Deployment.pending_approval_count will be nil otherwise it will be set to what is return in the API response