Compare assembled Smithy models for compatibility
///|
pub fn compare_models(
old_model : @smithy.Model,
new_model : @smithy.Model,
) -> Bool {
let result = @diff.compare(old_model, new_model)
for event in result.events {
println(event.id + ": " + event.message)
}
result.is_breaking()
}smithy diff --old old-model.smithy --new new-model.smithy
smithy diff --old old-models/ --new new-models/ --output changes.txt