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
We should not expect consumers to set this value, as there is only a single
value that is valid (`incident`) based on how we use the API. As such, let's
deprecate the field and just set it in the methods that need it.
This also updates the tests to assert that we're automatically setting it
appropriately.
Closes#390
The
type
can only be incident, and so it should be set by default within the package and not exposed a consumer-settable option.go-pagerduty/incident.go
Line 155 in ad98290
Since we can't remove it without it being a breaking change, we should deprecate it in preparation for v2.0.0.
The text was updated successfully, but these errors were encountered: