nhost / nhost-dart

Nhost Dart & Flutter packages
https://nhost.io
MIT License
90 stars 33 forks source link

Unable to change 5 seconds Timeout in the SDK #143

Open totzk9 opened 1 hour ago

totzk9 commented 1 hour ago

The graphql-v5.2.0-beta.9 dependency package being used in nhost-dart SDK added a 5 second timeout which causes Nhost apps to fail abrupty.

graphql-v5.2.0-beta.9 related commit: https://github.com/zino-hofmann/graphql-flutter/commit/6180841e9b703d9c312ea29e575dece973c691bc

We should add an optional parameter to be able to increase the Timeout in createNhostGraphQLClientForAuth.

Screenshot 2024-10-30 at 4 17 59 PM

totzk9 commented 1 hour ago

Currently working on a PR for this.

dbarrosop commented 1 hour ago

Awesome, thanks for the report and for the PR :)