fix(stub-db-create): warn about guessed register column categories

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Nick Shirokov
2026-03-07 19:13:31 +03:00
parent c6f499a099
commit dd81c85366
2 changed files with 5 additions and 0 deletions
@@ -1247,6 +1247,9 @@ $propsXml </Properties>$childObjLine
}
Write-Host "Generated stub configuration with $($typeMap.Count) metadata types"
if ($registerColumns.Count -gt 0) {
Write-Host "WARNING: Register column categories (Dimension/Resource/Attribute) are guessed. Form field bindings may not survive round-trip through a real database." -ForegroundColor Yellow
}
}
# --- 5. Create infobase ---
@@ -1031,6 +1031,8 @@ def main():
write_bom(os.path.join(obj_dir, f'{obj_name}.xml'), obj_xml)
print(f'Generated stub configuration with {len(type_map)} metadata types')
if register_columns:
print('WARNING: Register column categories (Dimension/Resource/Attribute) are guessed. Form field bindings may not survive round-trip through a real database.')
# Create infobase
print(f'Creating infobase: {temp_base}')