aliases are normalized and used in normalized state, but nonnormalized aliases contain everything

This commit is contained in:
Filipriec
2026-08-25 10:22:27 +02:00
parent 2e1b213137
commit e6840f6d9b
19 changed files with 198 additions and 34 deletions

View File

@@ -90,7 +90,12 @@ pub struct GeneratedColumnAlias {
/// ignored, so a typo cannot pass silently.
#[prost(string, tag = "1")]
pub generated_name: ::prost::alloc::string::String,
/// What the column should be called instead. Same rules as any column name.
/// What the column should be called instead. Preserved exactly for display.
/// Aliases may contain Unicode letters, numbers, spaces, punctuation and
/// symbols, but not leading/trailing whitespace or control characters, and
/// are limited to 63 UTF-8 bytes. Uniqueness and lookup use a compatibility-
/// normalized, Unicode-case-folded key that collapses whitespace and ignores
/// emoji while keeping punctuation significant.
#[prost(string, tag = "2")]
pub alias: ::prost::alloc::string::String,
}