Skip to content

Commit 89c38dc

Browse files
authored
Improve deprecation error message on SortQuery
1 parent 6b9d14c commit 89c38dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/JsonApiDotNetCore/Internal/Query/SortQuery.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace JsonApiDotNetCore.Internal.Query
88
/// </summary>
99
public class SortQuery : BaseQuery
1010
{
11-
[Obsolete("Use constructor overload (SortDirection, string) instead.", error: true)]
11+
[Obsolete("Use constructor overload (SortDirection, string) instead. The string should be the publicly exposed attribute name.", error: true)]
1212
public SortQuery(SortDirection direction, AttrAttribute sortedAttribute)
1313
: base(sortedAttribute.PublicAttributeName) { }
1414

0 commit comments

Comments
 (0)