Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add IHttpContentSerializer and GraphContentSerializer #1122

Merged
merged 2 commits into from
Jan 1, 2025

Conversation

nozzlegear
Copy link
Owner

This adds an IHttpContentSerializer interface along with a GraphContentSerializer class which implements the interface. These content serializers are responsible for serializing a ShopifySharp's RequestUri and GraphRequest to HttpContent. This will help add some extra mockability to the service classes, in addition to finer-grained control over what exactly is being serialized and sent to Shopify.

@nozzlegear nozzlegear added tests Affects the test suite infrastructure labels Jan 1, 2025
@nozzlegear nozzlegear merged commit ca3306d into master Jan 1, 2025
@nozzlegear nozzlegear deleted the http-content-serializer branch January 1, 2025 21:36
@nozzlegear nozzlegear added this to the 6.23.0 milestone Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure tests Affects the test suite
Development

Successfully merging this pull request may close these issues.

1 participant