Skip to content

Commit b2c28c7

Browse files
committed
Removed FluentValidation.dll dependency and merged the FluentValidation src into the ServiceStack.ServiceInterface's project.
Modified ServiceBase to return a HttpError for exceptions
1 parent 96c576d commit b2c28c7

92 files changed

Lines changed: 7086 additions & 729 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

lib/FluentValidation.dll

-86.5 KB
Binary file not shown.

src/ServiceStack.Common/Web/HttpError.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ public HttpError(string message)
1515
public HttpError(HttpStatusCode statusCode, string errorCode)
1616
: this(statusCode, errorCode, null) {}
1717

18+
public HttpError(object responseDto, HttpStatusCode statusCode, string errorCode, string errorMessage)
19+
: this(statusCode, errorCode, errorMessage)
20+
{
21+
this.Response = responseDto;
22+
}
23+
1824
public HttpError(HttpStatusCode statusCode, string errorCode, string errorMessage)
1925
: base(errorMessage ?? errorCode)
2026
{

src/ServiceStack.ServiceInterface/Deprecated.Session/CachedUserSessionManager.cs

Lines changed: 0 additions & 157 deletions
This file was deleted.

src/ServiceStack.ServiceInterface/Deprecated.Session/IUserSessionManager.cs

Lines changed: 0 additions & 80 deletions
This file was deleted.

src/ServiceStack.ServiceInterface/Deprecated.Session/PublicAndPrivateClientSessions.cs

Lines changed: 0 additions & 30 deletions
This file was deleted.

src/ServiceStack.ServiceInterface/Deprecated.Session/UserClientSession.cs

Lines changed: 0 additions & 86 deletions
This file was deleted.

0 commit comments

Comments
 (0)