Originally created by @pd4d10 on GitHub (Jun 14, 2021).
Original GitHub issue: https://github.com/pd4d10/git-touch/issues/248

<!-- gh-comment-id:862990401 -->
@shreyas1599 commented on GitHub (Jun 17, 2021):
@pd4d10
It can be fixed by removing the typecasts in https://github.com/git-touch/git-touch/blob/ddfa9e469e5be888aef32b8b13fa09dac079f69c/lib/widgets/timeline_item.dart#L445 and https://github.com/git-touch/git-touch/blob/ddfa9e469e5be888aef32b8b13fa09dac079f69c/lib/widgets/timeline_item.dart#L456
Is there any specific reason why you've used typecasts? If typecasting is necessary then https://github.com/git-touch/git-touch/blob/ddfa9e469e5be888aef32b8b13fa09dac079f69c/lib/widgets/timeline_item.dart#L456 will have to be modified to `GIssueData_repository_issueOrPullRequest__asPullRequest_timelineItems_nodes__asReviewRequestedEvent_requestedReviewer__asUser` as the cast. I'll add a fix based on which you suggest is better
Yeah, I guess it's just an issue of type. It should be enough to just correct the type (and make sure it doesn't break other places, of course)
<!-- gh-comment-id:863369925 -->
@pd4d10 commented on GitHub (Jun 17, 2021):
Yeah, I guess it's just an issue of type. It should be enough to just correct the type (and make sure it doesn't break other places, of course)
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @pd4d10 on GitHub (Jun 14, 2021).
Original GitHub issue: https://github.com/pd4d10/git-touch/issues/248
@shreyas1599 commented on GitHub (Jun 17, 2021):
@pd4d10
It can be fixed by removing the typecasts in https://github.com/git-touch/git-touch/blob/ddfa9e469e5be888aef32b8b13fa09dac079f69c/lib/widgets/timeline_item.dart#L445 and https://github.com/git-touch/git-touch/blob/ddfa9e469e5be888aef32b8b13fa09dac079f69c/lib/widgets/timeline_item.dart#L456
Is there any specific reason why you've used typecasts? If typecasting is necessary then https://github.com/git-touch/git-touch/blob/ddfa9e469e5be888aef32b8b13fa09dac079f69c/lib/widgets/timeline_item.dart#L456 will have to be modified to
GIssueData_repository_issueOrPullRequest__asPullRequest_timelineItems_nodes__asReviewRequestedEvent_requestedReviewer__asUseras the cast. I'll add a fix based on which you suggest is better@pd4d10 commented on GitHub (Jun 17, 2021):
Yeah, I guess it's just an issue of type. It should be enough to just correct the type (and make sure it doesn't break other places, of course)