simple_gql 1.0.0+1 simple_gql: ^1.0.0+1 copied to clipboard
A minimal library to do GQL queries and mutations (subscriptions comming soon)
A library for Dart developers.
Usage #
A simple usage example:
import 'package:simple_gql/simple_gql.dart';
main() {
final response = await gql.query(
url: 'https://api.graph.cool/simple/v1/swapi',
query: r'''
query {
allPersons {
name
films {
director
}
}
}
''',
);
}
Features and bugs #
Please file feature requests and bugs at the issue tracker.