As we can trigger Mutation on CLICK event, how can do such thing for Quering ???
Like I am building a search functionality, which takes keywords and then search that data in database, but currently only Mutation can be triggered on events like keypress, keyenter etc..
everytime user type in search input I want to make a Query, in apollo we can pass WithApollo and then use this.props.client.query, how to handle such things ???
Okay functionality is already there.. but no docs is available, please make some deep docs for using library, it would help a lot :)
Client client = GraphqlProvider.of(context).value;
var hello = await client.query(query: queries.getUsers);
This solved my problem :)
Most helpful comment
Okay functionality is already there.. but no docs is available, please make some deep docs for using library, it would help a lot :)
This solved my problem :)