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

Feature - Support for organizations #18

Open
jangerhard opened this issue May 11, 2018 · 0 comments
Open

Feature - Support for organizations #18

jangerhard opened this issue May 11, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@jangerhard
Copy link
Owner

Describe the solution you'd like
Support for organizations and not just users. Requires a different GraphQL call, but it is doable.
Requires a different prop when using the component, and therefore we risk that neither name nor organization is added, so adequate testing is needed.

Additional context

It should be very similar to existing call, except user is switched out with organization.

query someQuery($org: String!, $numRepositories: Int!, $numCommits: Int!) {
  organization(login:  $org){
    repositories(first: $numRepositories, orderBy: {field: UPDATED_AT, direction: DESC}) {
      ...
@jangerhard jangerhard added the enhancement New feature or request label May 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant