Skip to content

Add GraphQL-spec error fields to OperationError (locations + extensions)#562

Draft
Copilot wants to merge 7 commits into
devfrom
copilot/support-extensions-operationerror
Draft

Add GraphQL-spec error fields to OperationError (locations + extensions)#562
Copilot wants to merge 7 commits into
devfrom
copilot/support-extensions-operationerror

Conversation

Copy link
Copy Markdown

Copilot AI commented May 17, 2026

  • Review current OperationError implementation and existing test infrastructure
  • Add unit-level test(s) validating OperationError JSON parsing of message, path, locations, and extensions
  • Add integration test(s) validating provider/runtime error mapping from live server response into OperationError
  • Update integration test server schema with a deterministic error field carrying extensions
  • Run targeted validation via integration test pipeline (RunIntegrationTests) covering new tests
  • Run build + unit + integration tests and ensure no unrelated generated files are committed
  • Address code review style feedback on initializer-style setup in test server schema
  • Strengthen integration assertion to validate extensions.kind value format

Copilot AI linked an issue May 17, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Update OperationError type to support extensions as per specification Add GraphQL-spec error fields to OperationError (locations + extensions) May 17, 2026
Copilot AI requested a review from xperiandri May 17, 2026 01:05
Copilot AI and others added 4 commits May 17, 2026 03:09
Agent-Logs-Url: https://github.com/fsprojects/FSharp.Data.GraphQL/sessions/f7ecc729-e334-47b1-8577-9f252b9417f2

Co-authored-by: xperiandri <2365592+xperiandri@users.noreply.github.com>
@xperiandri xperiandri force-pushed the copilot/support-extensions-operationerror branch from 5884a78 to 898818a Compare May 17, 2026 01:09
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.

Support extensions on OperationError

2 participants