You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And realised that when we have an Option[String] for example, and we complete with a None the default EmptyValue mechanism kicks in and the response will be a 200 response. Is there some deeper reason behind that? I would have thought a 404 would be more appropriate to model the None case.
That's true as well that the right answer is "it depends" here hm...
Instead of changing behaviour I'll document how to change the none case by providing an EmptyValue implicitly and mention rejectEmptyResponse then.