axeltlarsson / receptdatabasen-api

The new PostgREST API and Elm SPA for receptdatabasen
MIT License
0 stars 1 forks source link

Frontend json decoder doesn't handle nullable fields properly #14

Closed axeltlarsson closed 4 years ago

axeltlarsson commented 4 years ago

image

If not inputting any description the server send back a valid recipe with description: null which the frontend JSON decoder can't handle, failing with above message. Furthermore, if attempting again you'll get a failure message about duplicate title 😢