Limiting currentMemberships doesn't seem to work as intended?


Hi hi, I am scoping out state legislator contact flows for resistbot, and poking around the openstates v2 API. It’s so cool!!!

I have one simple question from trying some of the query examples. It looks like currentMemberships(classification:"party") doesn’t work as intended, and all memberships are returned. For example, the Get legislators for a particular state/chamber example doesn’t work as intended (it includes all memberships, not just party and chamber memberships).

Is this a known issue, or is there something I can contribute to help resolve it?



have been busy but just created this issue: to track this, I’ll investigate


Thank you for looking into this!