Fixed panic in check-request-property-type-changed.go but it could fix panics in other checks. Checks are written so that Revision property in SchemaDiff must be not nil for added and modified schemas and the Base property must be not nil for deleted and modified schemas. Currently it is not like this so many checks could fail with panic.
Fixed panic in check-request-property-type-changed.go but it could fix panics in other checks. Checks are written so that
Revision
property inSchemaDiff
must be not nil for added and modified schemas and theBase
property must be not nil for deleted and modified schemas. Currently it is not like this so many checks could fail with panic.Example of fixed panic:
Panic could be reproduced on main by the added test TestRequestPropertyTypeChangedCheckFromObjectToArray