Skip to content

Commit

Permalink
refactor(torii-graphql): naming to avoid conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
Larkooo committed Feb 24, 2025
1 parent 9b93308 commit 8d152ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/torii/graphql/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,5 @@ pub fn field_name_from_names(namespace: &str, model_name: &str) -> String {
}

pub fn type_name_from_names(namespace: &str, model_name: &str) -> String {
format!("{}_{}", namespace, model_name)
format!("{}_{}Model", namespace, model_name)
}

0 comments on commit 8d152ca

Please sign in to comment.