Open rosstimothy opened 5 years ago
Random can return infinity, which has a null value for the number field, see json response below
{ "text": "-Infinity is negative infinity.", "number": null, "found": true, "type": "trivia" }
Oh, at this point, I think we can just pretend that this response doesn't occur since this is just an example app... 😅
Otherwise, you'd put appropriate logic into the InputConverter.
Random can return infinity, which has a null value for the number field, see json response below