Skip to content

Refresh GraphQL schemas and fix nullable projectItems - #374

Open
lykimq wants to merge 2 commits into
masterfrom
quyen@fix_broken_schema
Open

Refresh GraphQL schemas and fix nullable projectItems#374
lykimq wants to merge 2 commits into
masterfrom
quyen@fix_broken_schema

Conversation

@lykimq

@lykimq lykimq commented Jul 30, 2026

Copy link
Copy Markdown
Contributor
  • Refresh committed GitHub and GitLab GraphQL schemas from the live APIs.
  • Fix get_pull_request_cards to unwrap nullable projectItems so the build succeeds with the new GitHub schema.

Reason:
Pinned schemas had drifted. A schema fetch makes projectItems optional, which broke result.projectItems.items until the query code matched the new types.

lykimq added 2 commits July 30, 2026 14:33
Pinned shcmeas had drifted; a fetch makes projectItems nullable and would break the build until the query code is updated with them
Live GitHub GraphQL now types projectItems as optional, so accessing .projectItems.items no longer type-checks; match the option first
@lykimq
lykimq requested a review from Zimmi48 July 30, 2026 12:39
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.

2 participants