Skip to content

fix: Rename region_id and base_form_id to region and base_form in evolution details#1487

Open
santichausis wants to merge 1 commit intoPokeAPI:masterfrom
santichausis:fix/evolution-chain-region-base-form
Open

fix: Rename region_id and base_form_id to region and base_form in evolution details#1487
santichausis wants to merge 1 commit intoPokeAPI:masterfrom
santichausis:fix/evolution-chain-region-base-form

Conversation

@santichausis
Copy link
Copy Markdown
Contributor

For consistency with other fields (e.g. trade_species_id → trade_species), evolution detail fields should omit the _id suffix. Updated both the serializer and openapi.yml. Fixes #1396

@jemarq04
Copy link
Copy Markdown
Contributor

Looks like this PR includes contributions from your other PR regarding the main_generation field. Let's remove that from here to keep these separate

…lution details

For consistency with other fields (e.g. trade_species_id -> trade_species),
evolution detail fields should omit the _id suffix. The serializer was
manually naming them with _id, diverging from the documented API response.

Fixes PokeAPI#1396
@santichausis santichausis force-pushed the fix/evolution-chain-region-base-form branch from 24b8ee9 to 4cdd1e8 Compare April 14, 2026 13:34
@santichausis
Copy link
Copy Markdown
Contributor Author

Looks like this PR includes contributions from your other PR regarding the main_generation field. Let's remove that from here to keep these separate

Done, removed the main_generation changes — the PR now only includes the region/base_form rename.

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

Successfully merging this pull request may close these issues.

Document: EvolutionChain.region and EvolutionChain.base_form does not exist

2 participants