Skip to content

graphql_flutter Query widget throws error when loading the widget #1326

Answered by sumchans
sumchans asked this question in Q&A
Discussion options

You must be logged in to vote

I was finally able to fix it. This is way how I got it worked -

const String findContactsOnBol = """
  query(\$contacts:[String]) {
    findContactsOnBol(contacts:\$contacts) {
      status
      error
      users {
          id
          userPhoneNumber
          userDisplayName
      }
    }
  }
""";

Replies: 3 comments 17 replies

Comment options

You must be logged in to vote
3 replies
@sumchans
Comment options

@vincenzopalazzo
Comment options

@sumchans
Comment options

Comment options

You must be logged in to vote
13 replies
@vincenzopalazzo
Comment options

@sumchans
Comment options

@vincenzopalazzo
Comment options

@sumchans
Comment options

Answer selected by vincenzopalazzo
@vincenzopalazzo
Comment options

Comment options

You must be logged in to vote
1 reply
@sumchans
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants