UnifiedFeed SDK is a client library that enables easier integration with the Betradar XML feeds. SDK exposes XML feed service interface in a more user-friendly way and isolates the client from having to do XML feed parsing, proper connection handling, error recovery, event queuing, data caching and dispatching.
The HomeScore and AwayScore are nullable fields/properties on SportEventStatusDTO , SportEventStatusCI and SportEventStatus, but when it comes to map on MatchStatus the fields become non-nullable, this could lead into issue while updating scoreboard info.
The
HomeScore
andAwayScore
are nullable fields/properties onSportEventStatusDTO
,SportEventStatusCI
andSportEventStatus
, but when it comes to map onMatchStatus
the fields become non-nullable, this could lead into issue while updating scoreboard info.https://github.com/sportradar/UnifiedOddsSdkNetCore/blob/43f34aa4b901f64395c1af00d09465f687556806/src/Sportradar.OddsFeed.SDK/Entities/REST/Internal/DTO/SportEventStatusDTO.cs#L54-L62
https://github.com/sportradar/UnifiedOddsSdkNetCore/blob/43f34aa4b901f64395c1af00d09465f687556806/src/Sportradar.OddsFeed.SDK/Entities/REST/Internal/Caching/Events/SportEventStatusCI.cs#L30-L38
https://github.com/sportradar/UnifiedOddsSdkNetCore/blob/43f34aa4b901f64395c1af00d09465f687556806/src/Sportradar.OddsFeed.SDK/Entities/REST/Internal/EntitiesImpl/SportEventStatus.cs#L46-L54
and here's the glitch:
https://github.com/sportradar/UnifiedOddsSdkNetCore/blob/43f34aa4b901f64395c1af00d09465f687556806/src/Sportradar.OddsFeed.SDK/Entities/REST/Internal/EntitiesImpl/MatchStatus.cs#L52-L62
and here's what can happen when only partial fields are sent: