Skip to content

Commit

Permalink
Fix enum issue in Add SS Ref
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Jun 13, 2016
1 parent 1971ed9 commit 2472d3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ServiceStack.Client/UrlExtensions.cs
Expand Up @@ -102,7 +102,7 @@ public static string ToReplyUrl(this object requestDto, string format = "json")

public static string GetMetadataPropertyType(this Type type)
{
return type.IsValueType() && !type.IsSystemType()
return type.IsValueType() && !type.IsSystemType() && !type.IsEnum()
? "string"
: GetOperationName(type);
}
Expand Down

0 comments on commit 2472d3a

Please sign in to comment.