fix(codegen): fixed prioritisation heuristic for property name

collisions
This commit is contained in:
pyrite 2025-07-10 18:00:50 +02:00
parent 3e585d7559
commit daeff053f4
Signed by: pyrite
GPG key ID: 7F1BA9170CD35D15
3 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
[package]
name = "torn-api-codegen"
authors = ["Pyrit [2111649]"]
version = "0.7.1"
version = "0.7.2"
edition = "2021"
description = "Contains the v2 torn API model descriptions and codegen for the bindings"
license-file = { workspace = true }

View file

@ -410,7 +410,7 @@ impl Object {
|| other_name
.chars()
.filter(|c| c.is_alphabetic())
.all(|c| c.is_ascii_lowercase())
.any(|c| c.is_ascii_uppercase())
{
entry.insert(prop);
}