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

Fix(DexService->evos/prevo): Evos and prevo fields are not being parsed correctly #29

Closed
1 task done
favna opened this issue Nov 13, 2019 · 0 comments
Closed
1 task done
Assignees

Comments

@favna
Copy link
Member

favna commented Nov 13, 2019

Please describe the problem you are having in as much detail as possible:

It appears that the evos and prevo fields are not being parsed correctly because they are reported as null even on something like Ivysaur.

Include a reproducible code sample here, if possible:

fragment dexdetails on DexDetails {
  num species types
  abilities { first second hidden special }
  baseStats { hp attack defense specialattack specialdefense speed }
  gender { male female special }
  color eggGroups evolutionLevel evos prevo forme formeLetter
  height weight baseForme baseSpecies otherFormes
  sprite shinySprite smogonTier
  bulbapediaPage serebiiPage smogonPage
  flavorTexts { game flavor }
}

fragment evolutions on DexDetails {
  evolutions { ...dexdetails }
  preevolutions { ...dexdetails }
}

{
  getPokemonDetails(pokemon:melmetal) {
    ...dexdetails
    ...evolutions
  }
}

Further details:

  • version: 1.0.1
  • Node.js version: 12-LTS
  • Operating system: Windows
  • Priority this issue should have – please be realistic and elaborate if possible: High
  • I have also tested the issue on latest master, commit hash: 97bb3ed
@favna favna closed this as completed in b1a27a3 Nov 13, 2019
@favna favna self-assigned this Nov 13, 2019
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

No branches or pull requests

1 participant