Closed scannillo closed 1 year ago
Follow up to #177.
This PR:
APIClient
NetworkingCoordinator
fetch(request: GraphQLRequest)
GraphQLClient
GraphQLQueryResponse
GraphQLHTTPResponse
NetworkingClient
VaultPaymentMethodTokensAPI
Tests are expected to fail.
@scannillo
Reason for changes
Follow up to #177.
This PR:
APIClient
(which previously just passed requests along to HTTP) into a trueNetworkingCoordinator
that transforms REST & GraphQL --> HTTP.Summary of changes
fetch(request: GraphQLRequest)
method toAPIClient
GraphQLClient
and other no-longer-used GraphQL filesGraphQLQueryResponse
-->GraphQLHTTPResponse
Next
APIClient
toNetworkingClient
VaultPaymentMethodTokensAPI
class (waiting on Victoria's #172 PR to merge)Note
Tests are expected to fail.
Checklist
Authors
@scannillo