include style editor schemas in the GQL response#35528
Conversation
|
Claude finished @dario-daza's task in 3m 39s —— View job PR ReviewMostly solid refactor — the legacy 🔴 Material concerns1. Rollback contract risk (already flagged twice in this PR — still real). 2. Extra DB round-trip on every EDIT_MODE GraphQL page load. 3. 🟡 Worth tightening (review feedback already on PR)4. 5. PREVIEW_MODE asymmetry — schemas land in injected script but not in PageView. 🟢 Minor
SummaryThe refactor itself is clean — single source of truth for schema resolution, fewer endpoints, less SDK round-tripping. The two things I'd block on are (1) the rollback contract issue (release-coordination, not code) and (2) the duplicate DB work in the GQL fetcher. The store wipe in |
|
Pull Request Unsafe to Rollback!!!
|
…sary-network-calls # Conflicts: # dotCMS/src/main/webapp/ext/uve/dot-uve.js
…e and add condition for EDIT mode
|
Pull Request Unsafe to Rollback!!!
|
…sary-network-calls
…sary-network-calls # Conflicts: # core-web/yarn.lock
|
Pull Request Unsafe to Rollback!!!
Pull Request Unsafe to Rollback!!!
|
Proposed Changes
Removed the
api/v1/page/{pageId}/contenttype-schemaendpoint previously used to retrieve schemas for a page. This endpoint was only used by Headless pages, so we reused its logic to retrieve Style Editor Schemas and now expose them through GraphQL.Checklist
api/v1/page/{pageId}/contenttype-schemaendpointThis PR fixes: #35454
This PR fixes: #35454