Mia North
Mia North
If defining a custom type alias in this way, what's the best way to go about defining a unit for the new quantity type? I tried using the `unit!` macro,...
I found an extremely stupid hack/workaround. I defined a const ```rust pub const ONE_METER_CUBED_PER_SECOND_SQUARED: GravitationalParameter = (Length::new::(1.0)).powi(P3::new()) * (Time::new::(1.0)).powi(N2::new()); let mu: GravitationalParamter = 3.986e14 * ONE_METER_CUBED_PER_SECOND_SQUARED; ``` but, I mean,...
Ah that was a silly mistake when re-writing this to take a picture, thank you for catching that. With it fixed, I do still get _almost_ (but not quite) the...
I think it's because unit ([here](https://github.com/iliekturtles/uom/blob/629f385477212c20048aee0faff2079f47a1194b/src/unit.rs#L113C1-L113C1)) is expecting quantity to be a module? I'm not super sure, I'm kind of new to rust and stumbling my way through this.
8 Years later I was hoping to do exactly this. > `expose :setting, using: Entities::EventSettingEntity, documentation: { what to do here......}` Is this supported? I'm not sure using entities buys...
@dblock Thanks for the fast response! Using `:as` I don't think will work as the whole point is that it is expected as `:value` on the request contract regardless. I...
I don't think this has anything to do with Literals - anything that needs to be deserialized in a union is not being deserialized. ```python >>> from dataclasses import dataclass...