graphql-compose / graphql-compose/graphql-compose-mongoose

graphql-compose-mongoose with Typescript without extending Document

Open
#414 2 comments 10 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
706
Forks
98
PR merge metrics
No merged PRs in 30d

Description

I was interested in using the library because i found it very handy in terms of translating Mongoose Schemas to GraphQLObjects. I was blown away by how good it works but i noticed something. In models that we use Typescript interfaces it complains if I do not use the Extends Documents in the interface.

Is there any reason why we should use the extends Document when the mongoose Documentation recommends against that?

https://mongoosejs.com/docs/typescript.html

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.