Open
Conversation
Add full-stack GraphQL request support including schema, API, flow node integration, and UI pages. UI components use semantic design tokens (neutral, accent, success) for dark mode compatibility.
Wire GraphQL services (NodeGraphQL, GraphQL, GraphQLHeader) into the CLI so flow nodes with GraphQL steps execute instead of panicking. Add full YAML round-trip support: export serializes graphql_requests and graphql flow steps, import deserializes them back with use_request template resolution.
This commit implements comprehensive GraphQL delta functionality, matching the HTTP delta system, and fixes critical bugs in delta field updates. ## Key Changes ### Delta System (packages/server/internal/api/rgraphql/) - Add `rgraphql_crud_delta.go` - GraphQL delta CRUD operations - Add `rgraphql_crud_header_delta.go` - GraphQL header delta operations - Add `rgraphql_delta_converter.go` - Delta field conversions - Add `rgraphql_crud_version.go` - Version collection and sync endpoints - Add delta schema `09_graphql_delta.sql` with proper foreign keys ### Assertions (packages/server/internal/api/rgraphql/) - Add `rgraphql_crud_assert.go` - GraphQL assertion CRUD - Add `rgraphql_exec_assert.go` - Assertion execution during requests - Add `rgraphql_exec_assert_test.go` - Assertion execution tests - Add `rgraphql_crud_response_assert.go` - Response assertion tracking - Add frontend assertion UI components ### Response History - Add GraphQL response tracking and history UI - Add response header tracking - Add version sync for real-time updates ### Critical Bug Fix - Fix GraphQL Writer.Update() to check IsDelta flag - Add UpdateGraphQLDelta SQL query for delta field updates - Prevents deltas from incorrectly overwriting parent base fields - Follows HTTP delta pattern exactly ### Frontend (packages/client/src/pages/graphql/) - Add `history.tsx` - GraphQL response history view - Add `request/assert.tsx` - Request assertion editor - Add `request/url.tsx` - URL editor component - Add `response/assert.tsx` - Response assertion viewer - Add delta route handler - Update flow nodes to support GraphQL deltas ### Database Schema - Add graphql_assert table with delta support - Add graphql_response_assert table - Add UpdateGraphQLDelta query - Add migration 01KHEX5H_add_graphql_delta.go ### Configuration - Add .ralph/ and .ralphrc to .gitignore Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
By submitting a PR to this repository, you agree to the terms within the Contributor Covenant Code of Conduct. Please see the contributing guidelines for how to create and submit a high-quality PR for this repo.
Description
References
Testing
Checklist