File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,6 +14,11 @@ public static string GetRequestId<T>(this GraphQLResponse<T> response)
1414 return response . HttpResponse . GetRequestId ( ) ;
1515 }
1616
17+ public static string GetRequestId ( this GraphQLException ex )
18+ {
19+ return ex . HttpResponse ? . GetRequestId ( ) ;
20+ }
21+
1722 public static string GetRequestId ( this HttpResponse response )
1823 {
1924 return response . Headers . TryGetValues ( "X-Request-Id" , out var headerValues ) ? headerValues . First ( ) : null ;
Original file line number Diff line number Diff line change 55 <PackageProjectUrl >https://github.com/Wish-Org/ShopifyNet</PackageProjectUrl >
66 <RepositoryUrl >https://github.com/Wish-Org/ShopifyNet</RepositoryUrl >
77 <Description >.NET utilities for Shopify GraphQL</Description >
8- <Version >2.6 .0</Version >
8+ <Version >2.7 .0</Version >
99 <PackageTags >shopify graphql types classes schema generator strongly typed</PackageTags >
1010
1111 <!-- Ensure the XML doc file is generated -->
You can’t perform that action at this time.
0 commit comments