Closed
Description
Currently the crate has no documentation or function to create Decimal
s, which are internally just String
s. From what I understand, they are the same as the Admin API Decimal
s (https://shopify.dev/docs/api/admin-graphql/2023-01/scalars/Decimal).
It would probably be useful and eliminate sources of errors, if the crate had a utility function to format Rusts built-in number types as Decimals and/or to implement a proper Decimal type or use a proper Decimal type of another crate.
At the very least, there should be some documentation in the crate on what values Decimal
s should have (see link to Admin API).
Metadata
Metadata
Assignees
Labels
No labels