Devographics / Devographics/Monorepo

[results/td2023/current_total_annual_compensation] runQuery Issue: Enum "TokyodevYearsOfExperienceID" cannot represent non-enum value: 1.

Open
#487 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
178
Forks
55
Avg merge
1m
Merged PRs (30d)
2

Description

### Edition ID

```
td2023
```

### Block ID

```
current_total_annual_compensation
```

### Filters:

```
{
"options": {
"showDefaultSeries": false,
"enableYearSelect": false,
"mode": "grid",
"queryOnLoad": false,
"cutoff": 1,
"cutoffType": "percent",
"limit": 20,
"mergeOtherBuckets": false,
"preventQuery": false
},
"filters": [
{
"year": 2023,
"conditions": [
{
"fieldId": "language_proficiency_japanese",
"sectionId": "user_info",
"operator": "eq",
"value": "fluent"
},
{
"fieldId": "years_of_experience",
"sectionId": "user_info",
"operator": "eq",
"value": "1"
}
]
}
]
}
```

### Query:

```

query {
surveys {
tokyodev {
td2023 {
compensation {

current_total_annual_compensation_1: current_total_annual_compensation {
id


responses(filters: {user_info__language_proficiency_japanese:{eq:fluent},user_info__years_of_experience:{eq:1}}, parameters: {showNoAnswer:true,mergeOtherBuckets:false,cutoffPercent:1,facetCutoffPercent:1,limit:20}) {
currentEdition {

completion {
count
percentageSurvey
total
}
average
percentiles {
p50
}

buckets {
count
id
percentageQuestion
percentageSurvey
hasInsufficientData
entity {
name
nameHtml
nameClean
alias
description
descriptionHtml
descriptionClean
id
entityType
example {
label
language
code
codeHighlighted
}
avatar {
url
}
homepage {
url
}
youtube {
url
}
twitter {
url
}
twitch {
url
}
rss {
url
}
blog {
url
}
mastodon {
url
}
github {
url
}
npm {
url
}
mdn {
url
}
caniuse {
url
}
resources {
url
title
}
}




}
}
}
}
}
}
}
}
}

```

### Location

https://2023.surveys.tokyodev.com/en-US/compensation/#current_total_annual_compensation

### Timestamp

Fri Jan 17 2025 15:37:28 GMT+0530 (India Standard Time)

### Error:

```
{
"message": "Enum \"TokyodevYearsOfExperienceID\" cannot represent non-enum value: 1.",
"locations": [
{
"line": 12,
"column": 121
}
],
"extensions": {
"code": "GRAPHQL_VALIDATION_FAILED"
}
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.