oughtinc / mosaic

A web app for recursive question-answering with pointers
MIT License
37 stars 3 forks source link

Budgets need units for all numbers #218

Open stuhlmueller opened 6 years ago

stuhlmueller commented 6 years ago

I submitted a budget 2h45 and got:

[GraphQL error]: Message: Variable "$totalBudget" got invalid value 7200.045; Expected type Int; Int cannot represent non-integer value: 7200.045. Path: undefined. Location: Array(1) App.tsx:42 [Network error]: Error: Response not successful: Received status code 400

stuhlmueller commented 6 years ago

Likewise with 2h40:

[GraphQL error]: Message: Variable "$totalBudget" got invalid value 7200.04; Expected type Int; Int cannot represent non-integer value: 7200.04. Path: undefined. Location: Array(1) App.tsx:42 [Network error]: Error: Response not successful: Received status code 400