🍀 Trefle is a botanical JSON REST API for plants species, allowing you to search and query over all the registered species, and build the next gardening apps and farming robots.
Describe the bug
The USDA Leaf Retention field maps correctly when the USDA reports a "Yes" value. Trefle states "true". However, when the USDA reports a "No" value, Trefle does not report a value and simply states "null". "null" and "false" are not the same thing.
Describe the bug The USDA Leaf Retention field maps correctly when the USDA reports a "Yes" value. Trefle states "true". However, when the USDA reports a "No" value, Trefle does not report a value and simply states "null". "null" and "false" are not the same thing.
To Reproduce To see "Yes" correctly mapped to "true": https://plants.sc.egov.usda.gov/java/charProfile?symbol=ABFR https://trefle.io/api/species/101129
To see "No" incorrectly mapped to "null": https://plants.sc.egov.usda.gov/java/charProfile?symbol=ACSA3 https://trefle.io/api/species/101870