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
type Alert struct {
// AlertFieldValuesAttributes Custom alert field values to create with the alert
- AlertFieldValuesAttributes []struct {+ AlertFieldValuesAttributes []*struct {
I looked at the rootly OpenAPI spec, and those properties are definitely tagged with nullable: true, so this is expected behavior, and working as intended in this particular change.
So, I think the "fix" would be to gate this behavior behind an output-option? What do you think? I would actually argue that the new code generated for rootly is correct, because you can now have a nil element in the array versus a zerovalue.
I think it'd be interesting to see - following Friday's release - if we want to add a compatibility option to restore the old behaviour, depending on user feedback
Activity
mromaszewicz commentedon Feb 24, 2026
I looked at the rootly OpenAPI spec, and those properties are definitely tagged with
nullable: true, so this is expected behavior, and working as intended in this particular change.So, I think the "fix" would be to gate this behavior behind an output-option? What do you think? I would actually argue that the new code generated for rootly is correct, because you can now have a
nilelement in the array versus a zerovalue.What do you think?
jamietanna commentedon Feb 24, 2026
Ah, yes you're absolutely right - in our case, this does what it should do!
jamietanna commentedon Feb 24, 2026
I think it'd be interesting to see - following Friday's release - if we want to add a
compatibilityoption to restore the old behaviour, depending on user feedback