Closed 19h closed 5 years ago
Site breaks when trying to iterate over a nullable key value that can be an array. No key value should be assumed non-nullable unless specified in the schema.
Example query: https://api.psychonautwiki.org/?query=query%7Bsubstances(query:%22Armodafinil%22)%7Bclass{psychoactive}%7D%7D
Navigate to Armodafinil, Nitrous, et al.
-
Bug report
Describe the bug
Site breaks when trying to iterate over a nullable key value that can be an array. No key value should be assumed non-nullable unless specified in the schema.
Example query: https://api.psychonautwiki.org/?query=query%7Bsubstances(query:%22Armodafinil%22)%7Bclass{psychoactive}%7D%7D
To Reproduce
Navigate to Armodafinil, Nitrous, et al.
Expected behavior
-
Screenshots
-
System information
-
Additional context
-