We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21f8052 commit e4ed49fCopy full SHA for e4ed49f
packages/cw-schema-codegen/tests/python_tpl.rs
@@ -94,7 +94,7 @@ fn simple_enum() {
94
macro_rules! validator {
95
($ty:ty, $example:expr) => {{
96
(
97
- stringify!($ty),
+ ::std::any::type_name::<$ty>().replace("::", "_"),
98
cw_schema::schema_of::<$ty>(),
99
serde_json::to_string(&$example).unwrap(),
100
{
0 commit comments