-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add GitHub discussions total badge [GithubTotalDiscussions] #6472
Add GitHub discussions total badge [GithubTotalDiscussions] #6472
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working on this @profgrammer! The badge works well in the review app and apart form a minor suggestion, the implementation looks good to me. 👍🏻
data: Joi.object({ | ||
repository: Joi.object({ | ||
discussions: Joi.object({ | ||
totalCount: Joi.number().required(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could nonNegativeInteger
be used here?
@profgrammer if you've got a Twitter account, I can post a little something mentioning you for this new badge! |
I don't really use Twitter but I have an account: Thanks! |
request
method - added the headers from the options body in the GitHub GraphQL V4 API