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

Timeout is reseting to default after calling copyWith method of graphql client on graphql 5.2.0-beta.9 #1470

Open
Igos19 opened this issue Nov 29, 2024 · 0 comments

Comments

@Igos19
Copy link

Igos19 commented Nov 29, 2024

final client = GraphQLClient(
      queryRequestTimeout: const Duration(seconds: 30),
      defaultPolicies: DefaultPolicies(
        query: Policies(
          fetch: FetchPolicy.networkOnly,
          cacheReread: CacheRereadPolicy.ignoreAll,
        ),
      ),
    );

client.copyWith(...);

After calling copyWith method, client timeout is reseting to default value Duration(seconds: 5);

graphql 5.2.0-beta.9

@Igos19 Igos19 changed the title Timeout is reseting to default after copyWith calling copyWith method of graphql client on graphql 5.2.0-beta.9 Timeout is reseting to default after calling copyWith method of graphql client on graphql 5.2.0-beta.9 Nov 29, 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

No branches or pull requests

1 participant