d-pac / restful-keystone

Automatic RESTful API enabler for KeystoneJS
MIT License
160 stars 50 forks source link

Allow configuring of populate for multiple fields #15

Closed iamfozzy closed 8 years ago

iamfozzy commented 8 years ago

Previously, we could either enable populate for a single field (including which fields will 'show') however it wasn't possible to populate and configure which fields to show for multiple relationships.

This allows you to pass an array of objects to config.populate.