Skip to content

Commit 9b518f3

Browse files
committed
feat: add GraphErrorExtensions.Problems property
1 parent 82a953a commit 9b518f3

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

ShopifySharp/Services/Graph/GraphErrorExtensions.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,6 @@ public record GraphErrorExtensions
2222

2323
[JsonConverter(typeof(ObjectDictionaryConverter))]
2424
public IReadOnlyDictionary<string, object?>? Value { get; set; }
25+
26+
public IReadOnlyList<GraphErrorExtensionsProblem>? Problems { get; set; }
2527
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#nullable enable
2+
using System.Collections.Generic;
3+
4+
namespace ShopifySharp.Services.Graph;
5+
6+
public record GraphErrorExtensionsProblem
7+
{
8+
public IReadOnlyList<string>? Path { get; set; }
9+
10+
public string? Explanation { get; set; }
11+
12+
public string? Message { get; set; }
13+
}

0 commit comments

Comments
 (0)