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

listCommentsByPullRequest Crashing #389

Open
MousyBusiness opened this issue Oct 16, 2023 · 1 comment
Open

listCommentsByPullRequest Crashing #389

MousyBusiness opened this issue Oct 16, 2023 · 1 comment

Comments

@MousyBusiness
Copy link

MousyBusiness commented Oct 16, 2023

listCommentsByPullRequest Crashing.

From the GitHub docs
image

From the code
image

 type '_Map<String, dynamic>' is not a subtype of type 'String' in type cast
flutter: └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
flutter: [10:14:08.259] #0      _$LinksFromJson (package:github/src/common/model/repos_contents.g.dart:47:66)
#1      new Links.fromJson (package:github/src/common/model/repos_contents.dart:87:57)
#2      _$PullRequestCommentFromJson (package:github/src/common/model/pulls.g.dart:186:19)
#3      new PullRequestComment.fromJson (package:github/src/common/model/pulls.dart:258:7)
#4      _MapStream._handleData (dart:async/stream_pipe.dart:213:31)
#5      _ForwardingStreamSubscription._handleData (dart:async/stream_pipe.dart:153:13)
#6      _RootZone.runUnaryGuarded (dart:async/zone.dart:1594:10)
#7      _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:339:11)
#8      _BufferingStreamSubscription._add (dart:async/stream_impl.dart:271:7)
@github-actions
Copy link

👋 Thanks for reporting! @robrbecker will take a look.

@MousyBusiness MousyBusiness changed the title listCommentsByPullRequest listCommentsByPullRequest Crashing Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant