headless
headless copied to clipboard
In MenuProcessor allow to specify data fields to include as… … list field1,field2,...
Hi T3H,
I wanted to include other data in the JSON menu response.
However, appendData only allows 0/1
Often I want to include only certain fields, so I changed the code:
.appendData = field1, field2 ...
This would only include the mentioned fields, not all of them and reduce the size of the payload.
I hope you could agree with my approach (docs will follow later)?
Thanks,
Oliver