Skip to content

Commit

Permalink
Mark CheckForErrors<T> obsolete [squash before merge]
Browse files Browse the repository at this point in the history
  • Loading branch information
nozzlegear committed Oct 3, 2024
1 parent 974fcd8 commit 02ea7b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ShopifySharp/Services/Graph/GraphService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ private void ThrowIfResponseContainsErrors<T>(JsonDocument jsonDocument, Request
/// </summary>
/// <param name="requestResult">The <see cref="RequestResult{JToken}" /> response from ExecuteRequestAsync.</param>
/// <exception cref="ShopifyException">Thrown if <paramref name="requestResult"/> contains an error.</exception>
[Obsolete("This method is obsolete and will be removed in a future version of ShopifySharp.")]
protected virtual void CheckForErrors<T>(RequestResult<T> requestResult)
{
var jsonDocument = JsonDocument.Parse(requestResult.RawResult);
Expand Down

0 comments on commit 02ea7b9

Please sign in to comment.