[SPIKE] Graphql: Redundant `_row` data for Block Editor fields in URL Content Map
@dario-daza is already working on this.
Since Dec 1, 2025.
- Dominant language
- Java
- Stars
- 970
- Forks
- 486
- Avg merge
- 3d 33m
- Merged PRs (30d)
- 170
Description
Research Question
- Is it possible to prevent the GraphQL
_mapwildcard from returning internal _row fields (e.g.,blogContent_row) specifically for Block Editor properties? - Why are these internal fields being exposed to the final user?
- Why is the exposed
blogContent_rowdata incomplete compared to the parsedblogContent? (It appears to be missing properties fordotContentblocks data).
Timebox
4h
Acceptance Criteria
- Identification of the code responsible for injecting
_rowfields into the GraphQL_mapresponse. - Verification that hiding/removing the
_rowfield will not negatively impact the Block Editor's functionality or the standard blogContent field. - A technical proposal to filter out
_rowproperties from the response to clean up the API payload.
Context
We have identified an issue specifically affecting URL Content Maps that contain a Block Editor field.
When a user performs a GraphQL query using the _map wildcard to retrieve page content, the API returns the Block Editor data twice:
blogContent: The correctly parsed and formatted JSON object (Expected).blogContent_row: A raw, internal version of the field (Unexpected).
The Problem: The _row field is likely internal and should not be exposed to the final user. Furthermore, the data in blogContent_row appears to be "out of sync" or incomplete; specifically, it fails to return all properties for dotContent blocks, whereas the standard blogContent field works correctly.
Example Query:
query Page {
page(url: "/blog/post/ecotourism-in-costa-rica") {
urlContentMap {
_map
}
}
}
Goal: We want to clean up the API response. Clients consuming this API rely on the processed blogContent. If they need a stringified version, they can handle that client-side. The current behavior pollutes the response with incomplete, redundant data.
Links
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.