Description
Hi 👋 ,
I an engineer on the API team at GitHub. A colleague and I are currently going through GitHub's REST API, tightening up validations.
We noticed that a fair number of requests from this library to the Add issue assignee endpoint that are passing a single assignee as a string, rather than as an array with one string in it.
While the code seems to be handling this on the backend, the documentation specifies an array of strings, and we're going to get stricter about that, and start validating that the payload is, in fact, an array of strings.
That means that you'll be getting 422 Unprocessable Entity back from this API as soon as we flip the switch.
We're expecting to make this change in about a week, and wanted to give you a heads up so you're not caught by surprise.