-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When hitting an unrelated error, I see the following:
$ gh pr view
json: cannot unmarshal number into Go struct field GraphQLError.Errors.Path of type string
So as @vilmibm points out, looks like the return type can be a number as well as a string.
$ gh --version
gh version 1.13.1 (2021-07-20)
https://github.com/cli/cli/releases/tag/v1.13.1
Steps to reproduce the behavior
- Set the token permissions to not include projects scopes
- try to view a pr associated with a project
- See error
Expected vs actual behavior
Even if it does error out based on permissions, I expect it not the send me Golang errors.
Logs
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working