Summary:
This PR adds deduplicatePollers, deepEquals, and queryRequestTimeout parameters to the copyWith method in the GraphQLClient class. Including these parameters in copyWith allows for more consistent client cloning.
Justification:
Adding deduplicatePollers, deepEquals, and queryRequestTimeout parameters addresses a potential inconsistency in cloned instances.
For example, the timeout might differ unexpectedly from the base client configuration. Without this cloned instances would always initialize with a 5-second timeout, which may lead to unanticipated request behavior.
Summary: This PR adds
deduplicatePollers
,deepEquals
, andqueryRequestTimeout
parameters to thecopyWith
method in theGraphQLClient
class. Including these parameters incopyWith
allows for more consistent client cloning.Justification: Adding
deduplicatePollers
,deepEquals
, andqueryRequestTimeout
parameters addresses a potential inconsistency in cloned instances. For example, the timeout might differ unexpectedly from the base client configuration. Without this cloned instances would always initialize with a5-second timeout
, which may lead to unanticipated request behavior.