This commit is contained in:
2025-10-16 10:12:02 +04:00
parent cb52bcfbe4
commit f4711681dc
6 changed files with 560 additions and 4 deletions

View File

@@ -19,6 +19,9 @@ pub fn (mut a Atlas) export(args ExportArgs) ! {
dest.empty()!
}
// Validate links before export
a.validate_links()!
for _, mut col in a.collections {
col.export(
destination: dest
@@ -27,9 +30,9 @@ pub fn (mut a Atlas) export(args ExportArgs) ! {
redis: args.redis
)!
// Print errors for this collection if any
if col.has_errors() {
col.print_errors()
}
// Print errors for this collection if any
if col.has_errors() {
col.print_errors()
}
}
}