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

Octokit.net v5 doesn't deserialize user permissions response correctly #2681

Closed
heaths opened this issue Mar 9, 2023 · 0 comments · Fixed by #2682
Closed

Octokit.net v5 doesn't deserialize user permissions response correctly #2681

heaths opened this issue Mar 9, 2023 · 0 comments · Fixed by #2682
Labels
Type: Bug Something isn't working as documented

Comments

@heaths
Copy link
Contributor

heaths commented Mar 9, 2023

Based on

.Get<CollaboratorPermissionResponse>(ApiUrls.RepoCollaboratorPermission(owner, name, user), null);
, a CollaboratorPermissionResponse needs to have a Collaborator since you're deserializing the response, but this, in practice, is `null because the response schema returns "user" and there's no obvious mapping between "user" and "collaborator".

/cc @JimSuplizio

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working as documented
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants