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

cast exception seen when calling github.issue.addLabelsToIssue() #410

Closed
devoncarew opened this issue Aug 29, 2024 · 2 comments
Closed

cast exception seen when calling github.issue.addLabelsToIssue() #410

devoncarew opened this issue Aug 29, 2024 · 2 comments

Comments

@devoncarew
Copy link
Contributor

I'm starting to see a cast exception when calling github.issue.addLabelsToIssue(). I suspect an github api / encoding change? Calls from just a few hours ago were working.

type '_Map<String, dynamic>' is not a subtype of type 'List<dynamic>'
#0      GitHub.requestJson (package:github/src/common/github.dart:335:33)
<asynchronous suspension>
#1      GithubService.addLabelsToIssue (package:sdk_triage_bot/src/github.dart:[40](https://github.com/dart-lang/sdk/actions/runs/10607949422/job/29401239405#step:6:41):5)
<asynchronous suspension>
...
Copy link

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

@devoncarew
Copy link
Contributor Author

Ah, I believe this was due to a bug in my code.

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