Skip to content

Commit 6074990

Browse files
lorensrabernix
authored andcommitted
Add docs section for community data sources (#3015)
* Add docs section for community data sources * Update data-sources.md
1 parent 1deffbe commit 6074990

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/source/features/data-sources.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,13 @@ async resolveURL(request: RequestOptions) {
150150
}
151151
```
152152

153+
## Community data sources
154+
155+
The following data sources are community contributions which offer their own extensions to the base `DataSource` class provided by `apolllo-datasource`. While the packages here have been given cursory reviews, Apollo offers no assurance that they follow best practices or that they will continue to be maintained. If you're the author of a data source that extends `DataSource`, please open a PR to this documentation to have it featured here. For more details on specific packages, or to report an issue with one of these packages, please refer to the appropriate repository.
156+
157+
- `SQLDataSource` from [`datasource-sql`](https://github.com/cvburgess/SQLDataSource)
158+
- `MongoDataSource` from [`apollo-datasource-mongodb`](https://github.com/GraphQLGuide/apollo-datasource-mongodb/)
159+
153160
## Accessing data sources from resolvers
154161

155162
To give resolvers access to data sources, you pass them as options to the `ApolloServer` constructor:

0 commit comments

Comments
 (0)