You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are several cases of bulk queries that return 'lighter' versions of objects. For example mergeRequestApi.getMergeRequests() returns a list MergeRequest objects that contain only basic info. The class provides accessors to get approvals, changes, etc. but they are null unless queried using other calls (using mergeRequestApi.getApprovals() for approvals for example).
Would it be possible to make this more explicit in 6.0.0? For example make mergeRequestApi.getMergeRequests() return a list of another type (let's call it BasicMergeRequest) that contains only the info that is actually available for this call.
The text was updated successfully, but these errors were encountered:
There are several cases of bulk queries that return 'lighter' versions of objects. For example
mergeRequestApi.getMergeRequests()
returns a listMergeRequest
objects that contain only basic info. The class provides accessors to get approvals, changes, etc. but they are null unless queried using other calls (usingmergeRequestApi.getApprovals()
for approvals for example).Would it be possible to make this more explicit in 6.0.0? For example make
mergeRequestApi.getMergeRequests()
return a list of another type (let's call itBasicMergeRequest
) that contains only the info that is actually available for this call.The text was updated successfully, but these errors were encountered: