Skip to content

Commit

Permalink
docs: add links to the migration guide
Browse files Browse the repository at this point in the history
  • Loading branch information
mainawycliffe committed Dec 20, 2019
1 parent ecd7429 commit 9605425
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
4 changes: 4 additions & 0 deletions packages/graphql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ And then import it inside your dart code:
import 'package:graphql/client.dart';
```

## Migration Guide

Find the migration from version 2 to version 3 [here](./../../changelog-v2-v3.md).

### Parsing at build-time

To parse documents at build-time use `ast_builder` from
Expand Down
20 changes: 12 additions & 8 deletions packages/graphql_flutter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ Now inside your Dart code, you can import it.
import 'package:graphql_flutter/graphql_flutter.dart';
```

## Migration Guide

Find the migration from version 2 to version 3 [here](./../../changelog-v2-v3.md).

## Usage

To use the client it first needs to be initialized with a link and cache. For this example, we will be using an `HttpLink` as our link and `InMemoryCache` as our cache. If your endpoint requires authentication you can concatenate the `AuthLink`, it resolves the credentials using a future, so you can authenticate asynchronously.
Expand Down Expand Up @@ -542,14 +546,14 @@ This is currently our roadmap, please feel free to request additions/changes.

| Feature | Progress |
| :---------------------- | :------: |
| Queries ||
| Mutations ||
| Subscriptions ||
| Query polling ||
| In memory cache ||
| Offline cache sync ||
| GraphQL pload ||
| Optimistic results ||
| Queries | |
| Mutations | |
| Subscriptions | |
| Query polling | |
| In memory cache | |
| Offline cache sync | |
| GraphQL pload | |
| Optimistic results | |
| Client state management | 🔜 |
| Modularity | 🔜 |

Expand Down

0 comments on commit 9605425

Please sign in to comment.