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
In our cloud pricing API, a FixedCharge has a price, which is a BigDecimal. We added a description for this by monkey-patching the Attributor type:
moduleAttributorclassBigDecimaldefself.describe(root=false,example: nil)h=superh[:description]="This is a floating point number encoded as a JSON string in order to preserve precision."hendendend
It seems like it would make sense to have a description by default (it doesn't have to be this one). Does that belong in Attributor or further up the chain (this is a Praxis app)?
In our cloud pricing API, a FixedCharge has a price, which is a BigDecimal. We added a description for this by monkey-patching the Attributor type:
It seems like it would make sense to have a description by default (it doesn't have to be this one). Does that belong in Attributor or further up the chain (this is a Praxis app)?
@careo and @blanquer interested in what you think.
The text was updated successfully, but these errors were encountered: