Closed limemloh closed 1 year ago
Fix error when users provide an invalid field attribute.
Currently, when deriving Deserial or DeserialWithState for a struct with an invalid field attribute such #[concordium(size_length = "2")], where this is expected to be a number literal.
Deserial
DeserialWithState
#[concordium(size_length = "2")]
Expected:
Actual:
Purpose
Fix error when users provide an invalid field attribute.
Currently, when deriving
Deserial
orDeserialWithState
for a struct with an invalid field attribute such#[concordium(size_length = "2")]
, where this is expected to be a number literal.Expected:
Actual: