I’m now moving my voter engagement app from v1 to v2. In v1 I was able to get bills where a given legislator was either the primary or cosponsor. That basic functionality seems to be lost in v2. With v2, I will have to run multiple batch queries to get through the hundreds of possible bills, and then sort those client-side. Which will work, but it’s insanely inefficient.
Or am I missing something. I tried…
bills(first:100, sponsor:"Hornstein" jurisdiction:"ocd-jurisdiction/country:us/state:mn/government", chamber:"lower") edges
and that gave me the error: “Argument “sponsor” has invalid value “Hornstein”.\nExpected “SponsorInput”, found not an object.”
Is there something I can do here with “SponsorInput” so I can only get bills that involve a member (or even better personID)? Or if there’s no way to do this now, is this functionality in the works?
Thanks for the help