CommitHistoryConnection missing totalCount for secondary run-off

schema-request

#1

Recursing is hard, having totalCount on CommitHistoryConnection would help as a secondary run-off prevention so that if we loop too many times because of a bug elsewhere at least we can stop it before it runs off too steeply by counting up to the maximum count.


#2

Thanks for the suggestion @envygeeks, this seems reasonable :+1:.

I’ve marked this post as a schema request and added it to our internal issue tracker. We’ll update you here when we have more to share.


#3

Hope this could be solved soon~


#4

@envygeeks @enbandari Thanks for your feature requests! We’ve just added totalCount to CommitHistoryConnection

https://developer.github.com/v4/reference/object/commithistoryconnection/