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

Add availableFounders #4499

Merged
merged 2 commits into from
Dec 13, 2024
Merged

Add availableFounders #4499

merged 2 commits into from
Dec 13, 2024

Conversation

IvanIvanoff
Copy link
Member

@IvanIvanoff IvanIvanoff commented Dec 13, 2024

Changes

  • Improve available_selectors in getMetric's metadata
  • Add availableFounders to getMetric's metadata
{
  getMetric(metric: "social_volume_total") {
    metadata {
      availableFounders {
        name
        project {
          name
        }
      }
    }
  }
}
{
  "data": {
    "getMetric": {
      "metadata": {
        "availableFounders": [
          {
            "name": "Mingxing “Star” Xu",
            "project": {
              "name": "OKB"
            }
          },
          {
            "name": "Rune Christensen",
            "project": {
              "name": "Maker"
            }
          },
...
        ]
      }
    }
  }
}

Ticket

Checklist:

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have tried to find clearer solution before commenting hard-to-understand parts of code
  • I have added tests that prove my fix is effective or that my feature works

@IvanIvanoff IvanIvanoff changed the title add available founders Add availableFounders Dec 13, 2024
@IvanIvanoff IvanIvanoff force-pushed the add-available-founders branch from 231ee9d to 62e9ec4 Compare December 13, 2024 11:10
If a metric is available in multiple modules, combine the available
metrics when reporting in the API.
@IvanIvanoff IvanIvanoff force-pushed the add-available-founders branch from 62e9ec4 to 1058668 Compare December 13, 2024 13:37
@IvanIvanoff IvanIvanoff merged commit 65bb29d into master Dec 13, 2024
2 checks passed
@IvanIvanoff IvanIvanoff deleted the add-available-founders branch December 13, 2024 14:35
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

Successfully merging this pull request may close these issues.

1 participant