mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-03 10:14:06 +02:00
strongly typed sendpropdefinition
This commit is contained in:
parent
1258827b54
commit
df9a6a138e
10 changed files with 384 additions and 206 deletions
|
|
@ -54,7 +54,7 @@ impl EntityDump {
|
|||
.into_iter()
|
||||
.map(|prop| {
|
||||
(
|
||||
format!("{}.{}", prop.definition.owner_table, prop.definition.name),
|
||||
format!("{}.{}", prop.identifier.owner_table, prop.identifier.name),
|
||||
prop.value,
|
||||
)
|
||||
})
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ fn flatten_test(input_file: &str, snapshot_file: &str) {
|
|||
table
|
||||
.flatten_props(&send_tables)
|
||||
.into_iter()
|
||||
.map(|prop| format!("{}.{}", prop.owner_table, prop.name))
|
||||
.map(|prop| format!("{}.{}", prop.identifier.owner_table, prop.identifier.name))
|
||||
.collect(),
|
||||
)
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue