Skip to content

Commit

Permalink
Support for fixed sized arrays in models dojoengine#2785: Added Ty
Browse files Browse the repository at this point in the history
  • Loading branch information
bengineer42 committed Dec 30, 2024
1 parent 15292f5 commit 0cf1b45
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/dojo/core/src/meta/introspect.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ pub enum Ty {
// And `Box` is not serializable. So using a Span, even if it's to have
// one element, does the trick.
Array: Span<Ty>,
FixedArray: Span<(Ty, u32)>,
ByteArray,
}

Expand Down

0 comments on commit 0cf1b45

Please sign in to comment.