graphql-compose-mongoose
graphql-compose-mongoose copied to clipboard
Mongoose model converter to GraphQL types with resolvers for graphql-compose https://github.com/nodkz/graphql-compose
Any hints how I can convert mongoose virtuals into Type Composer ?
May have missed the options.... But, for example, in using the CreateOne*Input type for the createOne resolver, the discriminatorKey field isnt included in the generated type. So for the documentation...
I want to have a query that displays me all the information of the currently logged in user. I use JWT for log in that stores the id in `context`...
I have prepared the template project for codesandbox: https://codesandbox.io/s/github/yurtaev/graphql-compose-mongoose-codesandbox/tree/master/?file=/index.js I hope this can be useful for issue template.
I am trying to make a very large request that does lookups on several different collections to build a large graph. This ends up being very slow because the data...
```javascript const { Schema } = require('mongoose') const { SchemaComposer } = require('graphql-compose') const { composeWithMongoose } = require('graphql-compose-mongoose') const ArticleSchema = new Schema({ title: { type: String, }, content:...
Graphql-compose and graphql-compose-mongoose doesn't work with NextJs api routes (serverless): 1. ComposeWithMongoose or ComposeMongoose Error: You try to generate GraphQL Type with name from mongoose model but this type already...
By default this library assumes that the number type in the mongoose schema is a float. How can I explicitly make it an Int?
Right now the update function updates the entire document supplied the mutation data. I think that the update should only update the fields sendt in the mutation.
I try to filter by a nested field of type boolean. Autosuggestion works fine, but the filter does nothing. All records where shown in the results. ``` { pages(filter:{response:{hasErrors:true}}) {...