-
Notifications
You must be signed in to change notification settings - Fork 92
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
access to a repositories dependency graph #54
Comments
Hello.
There's an open issue about finding a way for this library to support previews, see #34. It is not complete. Until more progress is made, the best way I can recommend (and what others have done, e.g., see #45) is to make a fork and modify it to add preview API support that you're looking for. Alternatively, you can wait until GitHub graduates said preview API into their normal API. Hope that helps. |
@djoksimo any plans to fix it ? or it would be awesome if you solve this incomplete pull request. |
@x0rzkov I will most likely not be able to complete the pull request soon but there are a few alternatives that may help. You could use Optional:My fork of this package (https://github.com/djoksimo/githubv4) autogenerates the preview mode Go GraphQL schema by fetching the preview headers directly from GitHub. See how the headers are attached and check out the diff here Feel free to use my fork as inspiration, or to fork my fork. My fork may be a bit outdated so I cannot guarantee total functionality. Let me know if you have any questions! 😄 |
If anyone else needs to do this:
|
Hi,
Hope you are all well !
I wonder if you could provide me the example for accessing the DependencyGraphManifest for a repository.
Ref. https://developer.github.com/v4/previews/#access-to-a-repositories-dependency-graph
I cannot understand how to build the query.
Thanks in advance for your help.
Cheers,
X
The text was updated successfully, but these errors were encountered: