GraphQL: can't get repository by name #24789
-
I can get the name for a repository
but if I try to get that repository by name, it returns null
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Thanks for reaching out. When querying for a repository object, even when you specify I hope that helps! |
Beta Was this translation helpful? Give feedback.
-
Please provide example query of how this is done |
Beta Was this translation helpful? Give feedback.
Thanks for reaching out.
When querying for a repository object, even when you specify
viewer
, you have to give both thename
andowner
of the repository you want returned. The reason for this is that I, as a viewer, may have access to both theatom/atom
repository and thelee-dohm/atom
repository, so specifyingatom
by itself is ambiguous.I hope that helps!