You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An SDK generated for a Smithy model with shapes that have constraint traits applied fails to compile. Instead of using the wrapping Rust type, the inner data type needs to be used.
The error produced is:
error[E0308]: mismatched types
|
| encoder.str("rangeLongLabel").long(input.range_long_label);
| ---- ^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `RangeLong`
| |
| arguments to this method are incorrect
|
The text was updated successfully, but these errors were encountered:
An SDK generated for a Smithy model with shapes that have constraint traits applied fails to compile. Instead of using the wrapping Rust type, the inner data type needs to be used.
The error produced is:
The text was updated successfully, but these errors were encountered: