food-market/src/food-market.infrastructure/Integrations/MoySklad
nurdotnet 22502c11fd fix(moysklad): accept fractional prices (decimal, not long) in DTOs
MoySklad returns minPrice.value and salePrices[*].value as fractional numbers
for some accounts/products (not always pure kopecks). Deserializing as long
failed with "out of bounds for an Int64" → 500 on import. Switch MsMoney.Value
and MsSalePrice.Value to decimal, which accepts both integer and decimal
representations. Division by 100m already happens when mapping to local
Product, so semantics are unchanged.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-21 23:59:44 +05:00
..
MoySkladClient.cs fix(moysklad): add User-Agent header + enable HTTP auto-decompression 2026-04-21 23:49:58 +05:00
MoySkladDtos.cs fix(moysklad): accept fractional prices (decimal, not long) in DTOs 2026-04-21 23:59:44 +05:00
MoySkladImportService.cs fix(moysklad): trailing slash on BaseUrl so HttpClient keeps /1.2/ in path 2026-04-21 23:26:32 +05:00