mysociety / popit-api

DEPRECATED - Development on PopIt has stopped and it is no longer being maintained
https://goo.gl/Vvej4Q
Other
17 stars 3 forks source link

Allow comma separated embeds #143

Closed chrismytton closed 9 years ago

chrismytton commented 9 years ago

Allow specifying multiple things to embed in a membership by separating them with a comma.

/persons/bob?embed=membership.organization,membership.post

:memo: This diff is easier to read without whitespace changes

Fixes https://github.com/mysociety/popit/issues/797

struan commented 9 years ago

Probably should squash these down into a single commit :)

struan commented 9 years ago

This looks good. Much simpler code than I expected which is nice :)