We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08ad967 commit 4802cf6Copy full SHA for 4802cf6
kernel/src/schema/diff.rs
@@ -522,10 +522,8 @@ fn compute_field_update(
522
}
523
524
// Check for nullability change - distinguish between tightening and loosening
525
- match (before.field.nullable, after.field.nullable) {
526
- (true, false) => changes.push(FieldChangeType::NullabilityTightened), // Breaking
527
- (false, true) => changes.push(FieldChangeType::NullabilityLoosened), // Safe
528
- _ => {} // No change
+ if let Some(change) = check_container_nullability_change(before.field.nullable, after.field.nullable) {
+ changes.push(change);
529
530
531
// Validate physical name consistency
0 commit comments