Devographics / Devographics/Monorepo

[results/td2023/current_total_annual_compensation] runQuery Issue: Value "all_mostly_non_japanese" does not exist in "TokyodevCoworkerNationalitiesEngineersID" enum. Did you mean the enum value "mostly_non_japanese", "all_non_japanese", or "mostly_japanese"?

Open
#426 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": "current_job_description",
"sectionId": "job_info",
"operator": "eq",
"value": "engineering_manager"
}
]
}
]
}
```

### Query:

```

query {
surveys {
tokyodev {
td2023 {
compensation {

current_total_annual_compensation_1: current_total_annual_compensation {
id


responses(filters: {job_info__current_job_description:{eq:engineering_manager}}, 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

Sun Sep 08 2024 08:59:24 GMT+0900 (Japan Standard Time)

### Error:

```
{
"message": "Value \"all_mostly_non_japanese\" does not exist in \"TokyodevCoworkerNationalitiesEngineersID\" enum. Did you mean the enum value \"mostly_non_japanese\", \"all_non_japanese\", or \"mostly_japanese\"?",
"locations": [
{
"line": 12,
"column": 139
}
],
"extensions": {
"code": "GRAPHQL_VALIDATION_FAILED"
}
}
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the GraphQL query from the issue against the linked TokyoDev 2023 compensation page and inspect the current_total_annual_compensation block. Trace where the invalid all_mostly_non_japanese enum value is produced; done means the query validates and returns results without the enum error.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, typescript
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.