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

Deprecation of "Sponsor" object #3

Open
1 task
alexellis opened this issue Jul 1, 2020 · 2 comments
Open
1 task

Deprecation of "Sponsor" object #3

alexellis opened this issue Jul 1, 2020 · 2 comments

Comments

@alexellis
Copy link

Prerequisites

  • I searched to see if the issue already exists.

Description

The GitHub API is deprecating the "Sponsor" object in October. So kind of them :)

I came here as I haven't been able to work out how to use the new API and am finding it really confusing - the old approach you're using here is much easier to grok.

Screenshot 2020-07-01 at 10 24 45

I thought you should know, and wondered if you'd started work on moving to the new API format?

Steps to Reproduce

This will stop working.

@tj
Copy link
Owner

tj commented Jul 1, 2020

ah nice haha, nah I haven't looked into it yet

@alexellis
Copy link
Author

I've figured it out finally. They are using some kind of union which means you need a type assertion to access the data now. ... on User

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

No branches or pull requests

2 participants