Skip to content

Commit

Permalink
fix(torii-graphql): expose namespace in models query (#2331)
Browse files Browse the repository at this point in the history
  • Loading branch information
lambda-0x authored Aug 23, 2024
1 parent 1981ae3 commit 1cf67f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/torii/graphql/src/mapping.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ lazy_static! {
pub static ref MODEL_TYPE_MAPPING: TypeMapping = IndexMap::from([
(Name::new("id"), TypeData::Simple(TypeRef::named(TypeRef::ID))),
(Name::new("name"), TypeData::Simple(TypeRef::named(TypeRef::STRING))),
(Name::new("namespace"), TypeData::Simple(TypeRef::named(TypeRef::STRING))),
(
Name::new("classHash"),
TypeData::Simple(TypeRef::named(Primitive::Felt252(None).to_string())),
Expand Down

0 comments on commit 1cf67f8

Please sign in to comment.