jgarrow/graphql-server-pokeapi

Problem when executing any query but allPokemons

Closed this issue · 1 comments

First of all, I would like to thank you for creating this great API,I am using it to crreate an app for my portfolio
The problem is that, for example, I need to execute a query to get allTypes name, and this is the response I get:
image
it happens with other queries too, the one which has worken as I expected is getAllPokemon. Please let me knwo which solution could this have. Thanks in advance

Thanks for opening an issue! Looks like it was just an overlooked typo when I refactored some things a few months back. There is still a lingering issue with the allMoves query, but I'm going to close this since the allTypes query has been fixed. You can check out the fix at this commit, if you're interested.