This message was deleted.
# general
s
This message was deleted.
m
The 
github.BranchProtection
 resource has moved to the GraphQL API, while this resource will continue to leverage the REST API.
b
Is it to the GraphQL github API?
How do I know where should I point to guthub api rest and github graphql,? I mean I use
github.BranchProtection
to enforce some branch rules and it works, but is not clear for me if I should do it pointing to the rest api instead of graphql …
m
github.BranchProtection
uses the GraphQL GitHub API
I would imagine the GraphQL API would be more efficient, and if for some reason it doesn't support something, you would use the REST API.
1