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

feat(graphql_common): Add deduplicatePollers, deepEquals, and queryRequestTimeout parameters to copyWith method in GraphQLClient #1464

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hamed-rezaee
Copy link

@hamed-rezaee hamed-rezaee commented Oct 31, 2024

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.

@hamed-rezaee hamed-rezaee reopened this Oct 31, 2024
@hamed-rezaee hamed-rezaee force-pushed the feat(graphql_common)--add-queryRequestTimeout-parameter-to-GraphQLClient branch from 46f08d4 to 4f0c428 Compare October 31, 2024 21:17
@hamed-rezaee hamed-rezaee force-pushed the feat(graphql_common)--add-queryRequestTimeout-parameter-to-GraphQLClient branch from 4f0c428 to 47a1c92 Compare October 31, 2024 21:33
@hamed-rezaee hamed-rezaee changed the title feat(graphql_common): Add queryRequestTimeout parameter to copyWith method in GraphQLClient feat(graphql_common): Add deduplicatePollers, deepEquals, and queryRequestTimeout parameters to copyWith method in GraphQLClient Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant