Devographics / Devographics/Monorepo
Updated query api but not query builder
- Dominant language
- TypeScript
- Stars
- 178
- Forks
- 55
- Avg merge
- 1m
- Merged PRs (30d)
- 2
Description
### Edition ID
```
js2025
```
### Block ID
```
build_tools_ratios
```
### Filters:
```
{
"options": {
"showDefaultSeries": false,
"enableYearSelect": false,
"mode": "default",
"queryOnLoad": false,
"cutoff": 0,
"cutoffType": "percent",
"limit": 0,
"mergeOtherBuckets": false,
"preventQuery": false
},
"axis1": {
"sectionId": "build_tools",
"id": "build_tools_ratios"
},
"filters": [
{
"year": 2025,
"conditions": [
{
"fieldId": "vite",
"sectionId": "build_tools",
"operator": "eq",
"value": "used"
},
{
"fieldId": "rolldown",
"sectionId": "build_tools",
"operator": "eq",
"value": "used"
},
{
"fieldId": "bun",
"sectionId": "build_tools",
"operator": "eq",
"value": "used"
}
]
}
]
}
```
### Query:
```
query {
surveys {
state_of_js {
js2025 {
build_tools {
build_tools_ratios_1: build_tools_ratios {
id
entity {
name
nameHtml
nameClean
alias
description
descriptionHtml
descriptionClean
id
parentId
entityType
example {
label
language
code
codeHighlighted
}
avatar {
url
}
homepage {
url
}
youtube {
url
}
twitter {
url
}
bluesky {
url
}
threads {
url
}
twitch {
url
}
rss {
url
}
blog {
url
}
mastodon {
url
}
github {
url
}
npm {
url
}
mdn {
url
}
caniuse {
url
}
resources {
url
title
}
webFeature {
id
description_html
group
name
spec
url
status {
baseline
baseline_low_date
support {
chrome
chrome_android
edge
firefox
firefox_android
safari
safari_ios
}
}
}
}
combined(facet: _sentiment, filters: {build_tools__vite:{eq:used},build_tools__rolldown:{eq:used},build_tools__bun:{eq:used}}, parameters: {cutoffPercent:0,facetCutoffPercent:0,limit:0}) {
allEditions {
_metadata {
axis1Sort {
property
order
}
axis2Sort {
property
order
}
limit
cutoff
}
editionId
year
completion {
count
percentageSurvey
total
}
average
percentiles {
p50
}
ratios {
awareness
interest
usage
retention
positivity
positivityRelative
appreciation
}
}
}
}
}
}
}
}
}
```
### Location
https://2025.stateofjs.com/en-US/libraries/build-tools/
### Timestamp
Mon Mar 23 2026 20:02:44 GMT+0200 (Eastern European Standard Time)
### Error:
```
{
"message": "Cannot query field \"build_tools_ratios\" on type \"Js2025BuildToolsSection\". Did you mean \"build_tools_others\", \"build_tools_happiness\", or \"build_tools_pain_points\"?",
"locations": [
{
"line": 8,
"column": 9
}
],
"extensions": {
"code": "GRAPHQL_VALIDATION_FAILED"
}
}
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the GraphQL validation error from the build_tools_ratios block on the linked State of JS build-tools page, then trace the query builder and query API handling for that block. Compare the generated field with the schema fields available on Js2025BuildToolsSection; done means the generated query uses a valid field and the page query validates successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- graphql, typescript
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100