Skip to content

Conversation

@dmitshur
Copy link
Contributor

@dmitshur dmitshur commented Dec 18, 2025

If labelIDs remains at its zero value of ([]string)(nil), then it can't be used with a GraphQL type [ID!]!. The createIssue mutation call uses the GraphQL type [ID!] for its labelIds field, meaning the array is optional rather than required. Use the same type here.

Fixes #18.

If labelIDs remains at its zero value of ([]string)(nil), then it can't
be used with a GraphQL type "[ID!]!". The createIssue mutation call
uses the GraphQL type "[ID!]" for its labelIds field, meaning the array
is optional rather than required. Use the same type here.

Fixes #18.
@aclements aclements merged commit 254465a into rsc:master Dec 19, 2025
@dmitshur dmitshur deleted the patch-1 branch December 19, 2025 20:52
@dmitshur
Copy link
Contributor Author

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CreateIssue fails when attempting to create an issue with no labels

2 participants