weixin_39901404
weixin_39901404
2020-12-08 20:14

IHttpResponseHandler can't override response from ValidationResult.

I am using FluentValidation in my project. I have created my own IHttpResponseHandler and i have noticed that ValidationResult can't be overridden because generated code doesn't call it.

capture

该提问来源于开源项目:JamesRandall/FunctionMonkey

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

4条回答

  • weixin_39774644 weixin_39774644 5月前

    Thanks for reporting this - yes that looks wrong, I'll look to get a fix out.

    点赞 评论 复制链接分享
  • weixin_39774644 weixin_39774644 5月前

    This is included in the 1.0 release that I'll be pushing to NuGet shortly.

    点赞 评论 复制链接分享
  • weixin_39901404 weixin_39901404 5月前

    Thank you :)

    点赞 评论 复制链接分享
  • weixin_39774644 weixin_39774644 5月前

    Took me a while as it was super fiddly getting things right in the template and I wanted to have a decent set of tests around it first. Should drop tonight or tomorrow.

    点赞 评论 复制链接分享

相关推荐