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 resulting JSON for the checkly.Check struct contains null values for slice values that are not provided. Examples of this are:
Check.Locations
Check.EnvironmentVariables
Check.Tags
Request.Headers
Request.QueryParameters
Request.Assertions
We should add the ,omitempty annotation so that these values are not passed as null in the JSON.
The text was updated successfully, but these errors were encountered:
devilleweppenaar
changed the title
Array types should be omitted when empty, else they are 'null' in resulting JSON
Slice types should be omitted when empty, else they are 'null' in resulting JSON
Nov 26, 2020
ianaya89
changed the title
Slice types should be omitted when empty, else they are 'null' in resulting JSON
bug: slice types should be omitted when empty, else they are 'null' in resulting JSON
Jun 27, 2022
The resulting JSON for the
checkly.Check
struct containsnull
values for slice values that are not provided. Examples of this are:Check.Locations
Check.EnvironmentVariables
Check.Tags
Request.Headers
Request.QueryParameters
Request.Assertions
We should add the
,omitempty
annotation so that these values are not passed asnull
in the JSON.The text was updated successfully, but these errors were encountered: