Skip to main content

ban-add-composite-attribute

problem​

A new composite attribute changes the structure of values that existing clients receive and can break positional composite input. This rule is opt-in. An unconditional CREATE earlier in the file suppresses a warning for that new object.

ALTER TYPE address ADD ATTRIBUTE street text;

solution​

Update clients to handle the new attribute before adding it.

Enable this rule with --include ban-add-composite-attribute.