Skip to content

Similar to gql_http_link, A GQL Terminating Link to execute requests via Dio using JSON

License

Notifications You must be signed in to change notification settings

TarekkMA/gql_dio_link

Repository files navigation

🎉 gql_dio_link is now part of the gql family.

ℹ️ Please go to gql-dart/gql for more info.

Similar to gql_http_link, This is a GQL Terminating Link to execute requests via Dio using JSON.

Usage

A simple usage example:

import "package:dio/dio.dart";
import "package:gql_link/gql_link.dart";
import "package:gql_dio_link/gql_dio_link.dart";

void main () {
  final dio = Dio();
  final link = Link.from([
    // SomeLink(),
    DioLink("/graphql", client: dio),
  ]);
}

Features and bugs

Please file feature requests and bugs at the GitHub.

Attribution

This code is adapted from gql_http_link.

About

Similar to gql_http_link, A GQL Terminating Link to execute requests via Dio using JSON

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages