Andreas Gullberg Larsen
Andreas Gullberg Larsen
Yes, currently not possible to change numeric type of existing quantities, only custom quantities. We have discussed supporting generics many times before, but I don't see that moving forward anytime...
Thanks for sharing. I don't have any knowledge on this specific problem with Swagger, but I would recommend you to consider creating your own data transfer DTO types for representing...
I realize it was not obvious how to accomplish this, so I created some helper methods `Quantity.From()` and `.TryFrom()` that can construct quantities from strings, and updated the wiki with...
Nuget is out shortly, with the new methods. [Release UnitsNet/5.19.0 · angularsen/UnitsNet](https://github.com/angularsen/UnitsNet/releases/tag/UnitsNet%2F5.19.0)
I guess, you could just create your own `JsonConverter` inspired by `UnitsNetBaseJsonConverter`? If you are interested in attempting a pull request, then we could add this converter to the library...
Sorry for the late reply by the way, it got lost in the inbox.
I'm not familiar with this domain, so please help me understand better how you would change this. From https://en.wikipedia.org/wiki/International_unit: > In pharmacology, the international unit (IU) is a unit of...
I'm all for it, double down on double. BitRate, Information and Power are the types using decimal now. 3 out of 100+. It doesn't make any sense. The only concern...
@Muximize #1205 was resolved by #1207 , can you take it for a spin if this unblocks you? Changing Power to double will be a breaking change, and you'll have...
Fixed in #1195 for v6