prisma-binding
prisma-binding copied to clipboard
Add support for user supplied link
It looks like you are now using apollo-link
as the HTTP interface for prisma-binding
.
It would be awesome if we could supply our own link, as the beauty of the link approach is that you can compose various different links together to meet your requirements. For example, I might want to add apollo-link-retry
.
If you think this is a good idea, I'm happy to submit a pull request.
This would solve #359 as well. We could use SchemaLink
to mock Prisma by providing a mocked executable schema.