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
Copy/pasting a discussion with a user of the dart package:
Me:
about the energy: you should not add a computed value for energy, for many reasons: depending on the countries, energy is not computed the same way (between 4.2 and 4.4 kJ per kcal); in some countries (eg. the USA 😉) products only use calories (we do compute kJ when kCal are entered, but it should be the decision of each player; we provide computed energy through the API as an independent field energy_100g)
if you enter a new value for kCal and the user has not entered a value for kJ, you should reset the value of kJ (because this one is now probably false)
(edited)
Them: "For 1 & 2, how should we go about resetting kJ? From the data quality report it seemed like our prior approach of not including kJ in the payload does not reset it. Does sending an explicit null in the dart SDK reset it?"
The text was updated successfully, but these errors were encountered:
Copy/pasting a discussion with a user of the dart package:
Me:
(edited)
Them: "For 1 & 2, how should we go about resetting kJ? From the data quality report it seemed like our prior approach of not including kJ in the payload does not reset it. Does sending an explicit null in the dart SDK reset it?"
The text was updated successfully, but these errors were encountered: