Skip to content

(Another) heads up: stricter validation coming soon in the create repo for org endpoint #1014

@kytrinyx

Description

@kytrinyx

A few weeks back we discussed an issue where the GitHub API is going to return 422s when incorrect parameters are passed (rather than just ignoring those parameters): #992

We found another instance where we get incorrect parameters with the google/go-github header.

Our current plan is to turn on stricter validation on November 1st (we were going to do this earlier, but we've been seeing a lot of mismatches across the board, and are doing some work to let everyone know first!).

The Create a repository for an organization endpoint doesn't take an archived parameter, but we're seeing archived being passed to a number of endpoints.

Would you have a chance to look into whether this is encoded into the library itself, or whether it might be user error?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions