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
{{ message }}
This repository has been archived by the owner on Oct 2, 2020. It is now read-only.
I worked around this by changing the bool values in ReportListFilter to pointer to bool, but this is pretty ugly especially since you can't create a literal pointer to false in Go.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
If you create a ReportListFilter with a false ...AtNull attribute, the attribute is not passed to the API. For example, this does not work:
This is because go-querystring considers false values to be empty: https://github.com/google/go-querystring/blob/master/query/encode.go#L53
I worked around this by changing the
bool
values in ReportListFilter to pointer tobool
, but this is pretty ugly especially since you can't create a literal pointer to false in Go.The text was updated successfully, but these errors were encountered: