test_timestamp would be a DateTime object sent to Twig, instead of, say, an ISO string. This situation results in the following warning:
Warning: addcslashes() expects parameter 1 to be string, object given in /home/illepic/dev/downfall-guild/project/build/dev/d8/themes/custom/patternlab/pattern-lab/vendor/aleksip/plugin-data-transform/src/aleksip/DataTransformPlugin/Twig/PatternDataNodeTrait.php on line 45
Note: I'm using the preconfiguration of Pattern Lab Starter which enables both Faker and DataTransformer plugins.
Using the Pattern Lab Faker plugin can sometimes generate objects instead of strings from data.json values. For instance:
test_timestamp
would be a DateTime object sent to Twig, instead of, say, an ISO string. This situation results in the following warning:Note: I'm using the preconfiguration of Pattern Lab Starter which enables both Faker and DataTransformer plugins.