#[derive(ScalarValue)]
ScalarValue
#[derive(GraphQLScalar)]
#[graphql_scalar]
- `#[derive(GraphQLScalar)]`: - support generic scalars - support structs with single named field - support for overriding resolvers - `#[graphql_scalar]`: - support `transparent` argument Co-authored-by: Kai Ren <tyranron@gmail.com>
- support generic scalars - make it applicable to type aliases and struct/enums/unions