createPage requires all fields
Closed this issue · 1 comments
ChristopherBiscardi commented
Currently the createPage
call parses some data into a CreatePage
struct. #29 will change this, but we should be capable of handling missing field names and failing gracefully if we can't parse a CreatePage.
Currently with a missing data
field, we get a 422 error on the client, which is not useful for the user. We can check for this in the JS before sending too to save the round-trip.
ChristopherBiscardi commented
error message and missing field name support is in