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
But when the u64 is changed to u32, the error does not occur.
This error is triggered when calling liquid::to_object(¶meters).unwrap(); with a parameter struct that contains a u64. In this case ¶meters is of the TemplateParameters type as defined below.
liquid-rust version: "0.26.4"
rust version: rustc 1.75.0 (82e1608df 2023-12-21)
OS: Ubuntu 22.04.3 LTS
Does liquid-rust support 64 bit unsigned integers? Should it?
Attempting to populate a template with an
Option<u64>
results in the following error "Cannot fit number"But when the u64 is changed to u32, the error does not occur.
This error is triggered when calling
liquid::to_object(¶meters).unwrap();
with a parameter struct that contains a u64. In this case ¶meters is of the TemplateParameters type as defined below.The text was updated successfully, but these errors were encountered: