Open
Description
Hello! I noticed the following strange formatting (pay attention to the unitAmountCurrency
field how it sits behind the comment):
input ProductPriceInput {
"""
The unit amount in centavo to be charged, represented as a whole integer.
Centavo equals ¹⁄₁₀₀ of the basic monetary unit.
""" unitAmount: Int!
"Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html)." unitAmountCurrency: SupportedCurrency!
}
There is a similar output object where this is not happening:
type ProductPrice {
"""
The unit amount in centavo to be charged, represented as a whole integer.
Centavo equals ¹⁄₁₀₀ of the basic monetary unit.
"""
unitAmount: Int!
"Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html)."
unitAmountCurrency: SupportedCurrency!
}
The input is defined here: https://github.com/adeira/universe/blob/d1e60f44855dd5221c86c818188ba31163ec2342/src/ya-comiste-rust/server/src/commerce/model/products.rs#L147-L155
Thanks for having a look! 😎