Closed EpokTarren closed 4 months ago
In games against anonymous players lichess returns {} for the player in GameEventInfo, by adding an Anonymous variant serde can correctly deserialise the json. For challenges from anonymous players lichess doesn't return a player at all.
{}
GameEventInfo
Thanks for putting in a PR to fix this - I particularly appreciate your inclusion of unit tests for this edge case.
In games against anonymous players lichess returns
{}
for the player inGameEventInfo
, by adding an Anonymous variant serde can correctly deserialise the json. For challenges from anonymous players lichess doesn't return a player at all.