You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Density field on the ScreenInfo struct is typed as an int, but in reality this is often a floating-point value. I believe this was mistyped because the example in the Common Fields spec is—only by coincidence—a whole number.
This leads to json marshaling/unmarshaling errors at runtime:
WARN[0042] error decoding payloadjson: cannot unmarshal number 2.75 into Go struct field ScreenInfo.context.screen.density of type int
The text was updated successfully, but these errors were encountered:
The Density field on the ScreenInfo struct is typed as an
int
, but in reality this is often a floating-point value. I believe this was mistyped because the example in the Common Fields spec is—only by coincidence—a whole number.This leads to json marshaling/unmarshaling errors at runtime:
The text was updated successfully, but these errors were encountered: