You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Export classes needed to setup authentication headers
The README states that, in order to inject authentication headers, we need to import these files:
```dart
import 'package:flutter_graphql/flutter_graphql.dart';
import 'package:flutter_graphql/src/link/operation.dart';
import 'package:flutter_graphql/src/link/fetch_result.dart';
```
Importing files that are inside the `src` folder of a lib [is discouraged](https://dart-lang.github.io/linter/lints/implementation_imports.html).
This can be fixed by exporting those 2 files in the `flutter_graphql.dart`, as proposed here.
0 commit comments