Missing Pokémon Forms, Also for Evolution Requirements
Describe the Bug
For several Pokémon species that have several varieties, e.g.,:
pokemon-species/burmy pokemon-species/toxel
They only have one variety, while they should have 3/2 respectively.
This is not consistent with their evolutions, where wormadam and toxtricity have the correct number of varieties.
This also extends to evolution requirements, where, for e.g., burmy:
evolution-chain/213
evolution_details is a list of only one length, as it cannot distinguish between the burmy forms. The same for toxtricity.
Steps to Reproduce
The data returned from querying the endpoint:
https://pokeapi.co/api/v2/pokemon-species/burmy
Has only one variety, while it should have all cloak forms. The same applies for others e.g.,
https://pokeapi.co/api/v2/pokemon-species/toxel
For form evolutions, which both of the preivous examples have, then this need to be extended, e.g.,:
https://pokeapi.co/api/v2/evolution-chain/213
Should have three entries in evolution_details for wormadam, each specifying the appropriate form. Similarly for toxel/toxtricity. I suspect will need new pokemon form entries at https://pokeapi.co/api/v2/pokemon/10000+ as per the usual implementation.
Resolving the Bug
Anyone is open to making a PR for this issue.
This is actually being actively worked on in an open PR #1656, which will be merged soon.
This is actually being actively worked on in an open PR #1656, which will be merged soon.
Awesome, thanks!
@SamuelAppleby the pr is now merged, how does it look now? should be correct
@FallenDeity I've had a look and, yes, e.g., Toxel evolution line now has allowed_natures and burmy chain now has the form requirements.
I've added a feature request concerning the current relations though as I feel there are some problems with the current setup between forms, varieties and pokemon.