bsm / openrtb

OpenRTB protocol defintions for Go
Other
288 stars 121 forks source link

video duration pointers #47

Closed dsabonis closed 6 years ago

dsabonis commented 6 years ago

migrate video min/max duration properties to int pointers

dim commented 6 years ago

@dsabonis thanks, but why is this necessary?

dsabonis commented 6 years ago

@dim my bad - this PR was supposed to be added to my forked repository. In certain cases we need to differentiate between 0 and nil values when marshaling to JSON so that's why we're using pointers instead of int.