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 missing match fields #18

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

chypriote
Copy link
Contributor

Hello, thanks for the recent update, glad to see you are still working on this project.

Using the match v5 api led into an error caused by some fields existing in the API that were not defined in the ParticipantDto class. Turns out it's something missing in the Riot documentation. This PR fixes it.

As a side note, those undefined fields trigger an error when trying to build the Dto (RiotAPI\Base\Objects\ApiObject::90). I believe it would be better if the Dto was still instantiated without the missing fields instead of failing. Looking at the linked PR, it seems that riot is regularly adding new fields, which would cause the Dto instantiation to fail each time

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.

1 participant