Skip to content
This repository was archived by the owner on Nov 25, 2025. It is now read-only.
This repository was archived by the owner on Nov 25, 2025. It is now read-only.

Get sponsors with tiers in one GraphQL query #1

@catdevnull

Description

@catdevnull

I believe this query should allow this, but for me tier comes out as null as it seems I can't see that kind of thing without being an admin in @ziglang.

query GetSponsors {
  organization(login: "ziglang") {
    sponsorshipsAsMaintainer(first: 100) {
      nodes {
        tier {
          id
          name
          description
        }
        sponsorEntity {
          ... on User {
            id
            name
            login
            twitterUsername
            websiteUrl
          }
          ... on Organization {
            id
            name
            login
            twitterUsername
            websiteUrl
          }
        }
      }
    }
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions