gnikyt / Basic-Shopify-API

A simple API wrapper for Shopify using Guzzle for REST and GraphQL
MIT License
220 stars 66 forks source link

Make Guzzle Options Dynamic by Fetching Values from Configuration #148

Open mdzahid-pro opened 3 weeks ago

mdzahid-pro commented 3 weeks ago

Currently, the $guzzleOptions array in the class is hardcoded with static values for timeout, max_retry_attempts, default_retry_multiplier, and retry_on_status. We must refactor these options to be dynamically set based on environment variables or configuration files to enhance flexibility and allow environment-specific configurations.

The following items should be made dynamic: