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

Add Learned By Pokemon to Moves model #43

Merged
merged 1 commit into from
Nov 8, 2023
Merged

Add Learned By Pokemon to Moves model #43

merged 1 commit into from
Nov 8, 2023

Conversation

treesgobark
Copy link
Contributor

@treesgobark treesgobark commented Nov 7, 2023

PokeAPI's learnsets on their Pokemon resource are incomplete for some reason. For example, look for U-Turn on api/pokemon/moltres and for Moltres on api/move/u-turn. You'll find only the latter to be correct. So I'm just adding this property to the model. The change seems to work and all the tests still pass.

Copy link
Owner

@jtwotimes jtwotimes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the find. I'll have a new release with this change included shortly.

@jtwotimes jtwotimes merged commit c39e363 into jtwotimes:master Nov 8, 2023
@jtwotimes
Copy link
Owner

Available in v4.0.0

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.

2 participants