-
Notifications
You must be signed in to change notification settings - Fork 152
Added HTML renderer for description and short description #140
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rogyar thanks for contribution!
QUERY; | ||
$response = $this->graphQlQuery($query); | ||
|
||
self::assertContains($assertionCmsBlockText, $response['products']['items'][0]['description']); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Optionally, but would be nice to make sure no {{
or }}
left in the description.
Signed-off-by: vitaliyboyko <[email protected]>
…ps://github.com/magento/graphql-ce into rendered-attributes-product
Will be added in scope of further PR's Signed-off-by: vitaliyboyko <[email protected]>
return null; | ||
}; | ||
return $this->valueFactory->create($result); | ||
throw new GraphQlInputException(__('"model" value should be specified')); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be \LogicException
. Related discussion https://github.com/magento/graphql-ce/pull/132/files/a4c941e5fa7215e036198bd61c241434c03036ac..d86087487c0d505400c82d7e18dc6e0d6238464c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#189
Has been created
- Merge Pull Request magento-engcom/import-export-improvements#140 from maxalmonte14/import-export-improvements:improvement/supress_undefined_property_error - Merged commits: 1. 9a7fa4c 2. d0c4c64 3. fab32c6
Description
This PR improves output for description and shord_description of a product. Previously we just had a raw output. Now, if you use some directive (upon inserting a block into the description or so), its contents are rendered.
Fixed Issues (if relevant)
Manual testing scenarios
2.3-develop
branch (optionally: with sample data installed)