Open michalbundyra opened 4 years ago
The render_collections
flag is all or nothing at this point, and affects the Admin API as well. We don't have plans currently to provide a whitelist, but I'm noting this as a feature request for that functionality.
Originally posted by @weierophinney at https://github.com/zfcampus/zf-apigility/issues/25#issuecomment-42195888
In my config I set $config['zf-hal']['render_collections'] = false in order to bandaid a problem with recursive entity reference. However, when I do so, the Apigility admin stops working. The main section of /apigility/ui#/api is blank. The javascript console displays this error:
Not really sure if I should be posting this in zf-apigility or zf-hal, but they're both zfcampus modules so I'll let you guys sort it out.
Originally posted by @PoetikDragon at https://github.com/zfcampus/zf-apigility/issues/25