Closed dlbnco closed 4 years ago
According to the schema, some properties in SubstanceRoaDose should be a float, but some substances are returning an object. I saw this happening with:
SubstanceRoaDose
This results in GraphQLError like the following:
{ "errors": [ { "locations": [ { "column": 193, "line": 1 } ], "message": "Float cannot represent non numeric value: { max: 2.5, min: 2 }", "path": [ "substances", 0, "roas", 0, "dose", "threshold" ] } ] }
Sorry, I never closed this issue but I resolved it shortly after you opening it. I also fixed an identical issue on https://psychonautwiki.org/wiki/Psilocybin_mushrooms.
According to the schema, some properties in
SubstanceRoaDose
should be a float, but some substances are returning an object. I saw this happening with:This results in GraphQLError like the following: