Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 2
Message 1 of 2

MergeStateStatus.DRAFT not available when using shadow-cat-preview

Whenever I fetch the GraphQL schema of GitHub with the `Accept: 

application/vnd.github.shadow-cat-preview+json` header, I get the following possible values from `MergeStateStatus`:

BEHIND
BLOCKED
CLEAN
DIRTY
HAS_HOOKS
UNKNOWN
UNSTABLE

When I look in production I can see that I sometimes get `DRAFT` value back from `mergeStateStatus`. Since I'm using TypeScript it's kind of nasty to change the type information manually.

It would really help to add `DRAFT` to `MergeStateStatus` whenever `shadow-cat-preview` is used.

1 Reply
Highlighted
Community Manager
Message 2 of 2

Re: MergeStateStatus.DRAFT not available when using shadow-cat-preview

Hi @bobvanderlinden,

 

Thanks for this feedback! We're always working to improve GitHub, and we consider every suggestion we receive. I've logged your feature request in our internal feature request list. Though I can't guarantee anything or share a timeline for this, I can tell you that it's been shared with the appropriate teams for consideration.

 

Please let me know if you have any other questions.

Cheers!


I hope this helps,
Andrea

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!