Quantity must support major and minor numbres #54

Closed
opened 2024-07-17 14:38:33 +05:30 by realaravinth · 0 comments
Owner

Currently Quantity is an integer, which doesn't fully describe scenarios like 1kg 500g. Implementing major and minor numbers in Quantity, as done in Price, will cover more use cases.

quantity: Quantity,

Currently Quantity is an integer, which doesn't fully describe scenarios like 1kg 500g. Implementing major and minor numbers in Quantity, as done in Price, will cover more use cases. https://git.batsense.net/libre-solutions/vanikam/src/commit/54e3e7a3300d55b360c607a6f202cf122bc8aa0e/src/inventory/domain/product_aggregate.rs#L111
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: libre-solutions/vanikam#54
No description provided.