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
type '(dynamic) => Map<String, dynamic>?' is not a subtype of type '(dynamic) => FutureOr<Map<String, dynamic>>?' of 'function result' #294
Comments
seems to come from gql/links/gql_websocket_link/lib/src/link.dart Lines 72 to 74 in 6723436
I'm not sure why this is, though: doesn't For now, it works if I just mark the function |
Thanks for the report, the issue seems to be on the |
Thanks for getting back to me so quickly and getting a fix in! I'll switch to that branch and let you know if I stop seeing the problem. It happens intermittently, but rather consistently over a 1-2 hour period. I'll let you know once I get a chance to test, thanks! |
Update: been testing with this gql_websocket_link:
git:
url: https://github.com/agent3bood/gql.git
path: links/gql_websocket_link
ref: issue/294 and it's been holding up with no errors for a couple of hours. I'll leave it running overnight and see if it comes back, but it looks like a good sign :) Thank you! |
I have the same issue and it does appear to be solved by using https://github.com/agent3bood/gql/tree/issue/294 -- any chance those changes will end up merged? |
@agent3bood could you open a MR for this? |
Hello, when its going to be on pub.dev? |
Hello, it is released as alpha version on pub.dev. (0.3.4-alpha+1661890990262) |
Hello, any update? @knaeckeKami |
done |
amazing, thank you! |
Hi there! I left my app open overnight, and ended up with over four thousand (4000!) errors originating from this package with the error message
type '(dynamic) => Map<String, dynamic>?' is not a subtype of type '(dynamic) => FutureOr<Map<String, dynamic>>?' of 'function result'
.I've seen this error before but haven't thought much of it until I began getting messages from sentry about over use. Here's a small stack trace that sentry gives me:
and here are my versions:
is this seen anywhere? how can I fix this error? Thanks!
The text was updated successfully, but these errors were encountered: