dev.profunktor.fs2rabbit.model.AmqpFieldValue
The AMQP 0.9.1 standard specifies that the scale component of a decimal must be an octet (i.e.
The AMQP 0.9.1 standard specifies that the scale component of a decimal must be an octet (i.e. between 0 and 255) and that its unscaled component must be a 32-bit integer. If those criteria are not met, then we get back None.
Only use if you're certain that the BigDecimal's representation meets the requirements of a DecimalVal (e.g.
Only use if you're certain that the BigDecimal's representation meets the requirements of a DecimalVal (e.g. you are constructing one using literals).
Almost always you should be using from.