mszostok / codeowners-validator

The GitHub CODEOWNERS file validator
Apache License 2.0
219 stars 47 forks source link

Try to move from API Rest calls to GraphQL call. #10

Closed mszostok closed 3 years ago

mszostok commented 4 years ago

Description

Currently, we are using the API Rest calls to check if defined owners are the valid ones. This generated the problem with a lot of requests. GitHub expose also the GraphQL to call their apis. We need to investigate if they expose their functionality. If yes, that we can switch to graphql call to significantly reduce the number of calls.

Console to test GraphQL: https://developer.github.com/v4/explorer/

Acceptance Criteria