Open josias-r opened 3 weeks ago
When a field in directus is set to type "decimal" (for finances for example), the generated types say the response is a number, when in reality it is a formatted string, such as "100.00"
"100.00"
No response
Which database you're using?
@WoLfulus PostgreSQL v15 hosted on Vercel, Directus 10.10.4
const config = await directusClient.shop_item({ fields: [ { column_name: ["current_price"] }, ], });
Description of the bug
When a field in directus is set to type "decimal" (for finances for example), the generated types say the response is a number, when in reality it is a formatted string, such as
"100.00"
Steps To Reproduce
No response
Additional Information
No response