Closed stretch0 closed 3 years ago
Hey @stretch0 ! Have you tried something like the example in the readme? https://github.com/GraphQLGuide/apollo-datasource-mongodb#typescript
Let me know if you have any other questions! 😀
That has done the trick.
Thanks for your help 😄
Trying to use
MongoDataSource
to extend my User dataSource class with typescript but seem to be getting the following error:My User dataSrouce class is as so:
How am I supposed to call
MongoDataSource
with 2 args when it's used to extend my own class?