When changing the regexp pattern of an existing property, there are no overrides available to explicitly skip the verification on pattern change.
Example:
previous schema
Widget:
type: object
properties:
prop1:
type: string
updated schema
Widget:
type: object
properties:
prop1:
type: string
pattern: '[A-Za-z0-9#$]$'
Gives an Schema: Broken compatibility error.
This issue is to add a new config property (something like incompatible.schema.pattern.changed) so we can disabled the pattern change rule.
When changing the regexp pattern of an existing property, there are no overrides available to explicitly skip the verification on pattern change.
Example:
previous schema
updated schema
Gives an
Schema: Broken compatibilityerror.This issue is to add a new config property (something like
incompatible.schema.pattern.changed) so we can disabled the pattern change rule.