ServiceStack/ServiceStack — comment on commit b2c28c72bfbbd685f9acef5cfc1e0ec29ab4cb8c
File:  line 0
By mythz:

There were 2 options:

- To include it as src so we don't increase the dll dependency count (annoying for users who don't use it to be forced to ref an external FluentValidation.dll).
- Or leave it separate and have a wrapper project with ServiceStack extensions requiring a NuGet pull and to ref an extra 2 dlls for those that a) know that it exists. b) know how to install it.

I went with option 1, since ServiceStack doesn't really have a Validation library and I want to ship a 'complete stack' to build web services with. Also by having an opinionated validation library included as src I can add deep integration hooks so it works seamlessly with the ServiceStack request pipeline. I can also eventually ship some javascript client libraries that make it seamless to work with - which will be the end goal.

I've purposely moved it into a different namespace (i.e. prefixed with 'ServiceStack.') so it doesn't conflict and prevent others to include an official FluentValidation.dll if they want to use that instead - and they can simply use that instead and forget this version exists.