Skip to content

Draft: Add unprocessable content problem

Asbjørn Ulsberg requested to merge asbjornu/granola:register-validation into main

Add UnprocessableContentProblem and use it in UserHandler.postUser to unify and simplify validation for both JSON and HTML. I think this simplifies validation somewhat, but most importantly it makes it consistent for both HTML and JSON. There's still cleanup to do, but I'd like to receive feedback on this direction.

Merge request reports