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 3d159f3 commit 97e4e1bCopy full SHA for 97e4e1b
juniper_codegen/src/derive_scalar_value.rs
@@ -101,9 +101,6 @@ fn impl_scalar_struct(
101
panic!("Invalid #[graphql] attribute: {}", e);
102
}
103
};
104
- if !(attrs.transparent) {
105
- panic!("Deriving GraphQLScalarValue on a tuple struct requires a #[graphql(transparent) attribute");
106
- }
107
let inner_ty = &field.ty;
108
let name = attrs.name.unwrap_or(ident.to_string());
109
0 commit comments