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
Introduce ability to request velocity-rendered fields values in the GraphQL request #20407
Comments
This is how you get both the rendered and the raw version - using aliases
|
Note to QA/Doc: GraphQL Contentlet fields now take a "render" parameter that will return the rendered value of the field. It only works for field of types: WysiwygField, TextField, TextAreaField, CustomField, ConstantField. For QA: Postman test is |
Fixed, tested using the render parameter as in the provided example, also checked the postman test and both cases are working as expected. Tested on release-21.06 // Postgres |
As a GraphQL Content API User I want to be able to specify in the GraphQL query if a given field should be returned velocity-rendered in the response.
One way of achieving this would be by passing an GraphQL argument to the field indicating so.
Example:
The text was updated successfully, but these errors were encountered: