Open ckousik opened 3 weeks ago
Seems like the data is bugged, why would gold bounty ever be fractional? Did they change how bounty gold works?
(docs should be updated regardless, with note perhaps)
Totally agree, it actually affect few other fields in some really specific games.
Seems like the data is wrong, why would gold bounty ever be fractional? Did they change how bounty gold works?
I double checked this. In LA1_1568057368, please see the Participant data for player with game name "Zelt" and tagline "GGZ". Their bountyGold is 17.56436538696289
@noahkohrs What are the match IDs?
Bug Description
Error in Match-v5 ChallengesDto documentation
Problem Description
bountyGold
is documented as an integer but it can be a float.Expected Result
Documentation is out of date/inconsistent.
Actual Result
bountyGold
should be documented as a float.Developer Impact
Type deserializers generated from the API spec will fail, especially for strongly typed languages.
Repro Steps
Query match-v5 endpoint for
LA1_1568057368
.bountyGold
for one of the Participant structs is a float.