While toying with the library to get some merge requests from our gitlab server, I was met with
Atdgen_runtime.Oj_run.Error("Line 1:\nMissing record field merge_request_approvals_before_merge")
Making this field optional in gitlab.atd (where it is already nullable) by adding a ? in front of the name makes the problem disappear.