Skip to content
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

Fix getNotifications #511

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

maralorn
Copy link

Fixes #510 and #504. (I simply included the commit by @magthe.)

magthe and others added 2 commits September 24, 2024 23:09
This goes against the documentation at
https://docs.github.com/en/rest/activity/notifications but it seems to be
required in order to handle certain types of notifications.
| AuthorReason
| CommentReason
| CiActivityReason
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that I am not 100% if this is the correct capitalisation, but CIActivity looked fishy. ;-)

@maralorn
Copy link
Author

CI error looks unrelated.

@andreasabel
Copy link
Member

Nice, thanks!

If you rebase on master, CI should succeed.

Can you please a test or an example use of the new API features? (See the samples/ and spec/ subdirectories for models.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NotificationReason sum type is incomplete
3 participants