-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Centralized Content not available via JSON:API #16615
Comments
This is what a fetched field (that is fetching a paragraph) looks like in GraphQL "fieldCcAboveTopOfPage": {
"fetched": {
"fieldWysiwyg": [
{
"value": "<h2>Questions about copay balance</h2>\r\n\r\n<p>For questions about the copay balance of your VA health care bill, call us toll free at the number below. You won't need to pay any copays for X-rays, lab tests, preventative tests, and services like health screenings or immunizations.</p>\r\n",
"format": "rich_text",
"processed": "<h2>Questions about copay balance</h2>\n\n<p>For questions about the copay balance of your VA health care bill, call us toll free at the number below. You won't need to pay any copays for X-rays, lab tests, preventative tests, and services like health screenings or immunizations.</p>"
}
]
},
"fetchedBundle": "wysiwyg",
"targetField": null,
"targetId": "109546",
"targetType": "paragraph",
"value": false
}
}, It looks to me like only the "value" property is being output by the JSONAPI results. The value, I think is there because it is a computed field. |
I made a fair amount of discovery progress on this. I noted my findings in the d.o issue. |
The Dependabot PR is here: #16730 |
I reviewed and approved of #16776 |
PR merged so I think this can be closed, or maybe there is another QA step... |
🎉 |
Requirements
We need Centralized Content nodes to return data via JSON:API so that we can render Centralized Content data.Acceptance criteria
Background & implementation details
Example query which does not show data (see any of the
field_cc
fields): https://prod.cms.va.gov/jsonapi/node/vamc_system_billing_insurance/cbeb033f-c091-4aba-8814-642ae0d389d9?resourceVersion=id%3A657971See this open issue on Entity Field Fetch: https://www.drupal.org/project/entity_field_fetch/issues/3300098
Implementation tasks
The text was updated successfully, but these errors were encountered: