Closed ghost closed 7 years ago
Got it working with this approach.
looks like item is a reserved word ...
If i replace "item" with "itemitem" is works :)
ponzu gen content review title:"string" author:"string" rating:"float64" body:"string" website_url:"string" itemitem:"[]string" photos:"[]string"
SO, maybe add a preflight check for reserved words ?
Ah, good catch... tests are sorely needed :-/
I will add item and think of other possible reserved words to add before generate-time.. if you come across any others, please add them here!
will leave open for now for you ...
This uses the code on the wiki.
The bug is with the "item" field name :)
this script fails:
you get :