What's wrong with this query?

I am trying to use variables in my query.

Below is the query for your reference.
Query -

query bills($jurisdiction: String, $session: String, $endcursor: String, $f: Int) {
  bills(jurisdiction: $jurisdiction, session: $session, first: $f, after: $endcursor) {
    edges {
      node {
    pageInfo {

Variables -

{"jurisdiction" : "Illinois",
"session": "101st",
"endcursor": "YXJyYXljb25uZWN0aW9uOjk",
"f": 10}

I can attach String variables just fine but for some reason cannot attach Int variables.
Am I doing something wrong ?

The same “first” variable problem was reported, on a persons query, in https://github.com/openstates/openstates.org/issues/173 .

This topic was automatically closed 70 days after the last reply. New replies are no longer allowed.