github icon indicating copy to clipboard operation
github copied to clipboard

Add support for the `auto_merge` field in `PullRequest`

Open neilmayhew opened this issue 1 year ago • 1 comments

The PullRequest type doesn't have a field for the auto_merge field in API responses. This field is documented in both the example response and the response schema.

neilmayhew avatar Jun 21 '24 18:06 neilmayhew

+1 for this feature request.

Also, I've been working on this: https://github.com/TokTok/hs-schema/blob/master/src/Data/Schema/OpenAPI/Haskell.hs which should someday be able to generate all the haskell types from the ghes API description yaml files (that should make these requests quite straightforward to resolve). Contributions there are welcome :) I have little time to work on it at the moment.

iphydf avatar Nov 10 '24 23:11 iphydf