graphql-compose-mongoose icon indicating copy to clipboard operation
graphql-compose-mongoose copied to clipboard

Mongoose model converter to GraphQL types with resolvers for graphql-compose https://github.com/nodkz/graphql-compose

Results 118 graphql-compose-mongoose issues
Sort by recently updated
recently updated
newest added

When you use a TC's `findMany` resolver multiple times in schema, for example, first to add a relation, then to add a `findMany` query, and then to add a `pagination`...

Array items in the schema are type like [String] Instead I would like to have [String!] How to do it ?

The `validateDoc` function used in many resolvers, e.g. `updateById`, `createOne`, found [here](https://github.com/graphql-compose/graphql-compose-mongoose/blob/744b767b4029cbdaa3d0734368fec3ef5f38f7f7/src/resolvers/helpers/validate.ts#L23) will call `doc.validateSync` for mongoose >= v7. `validateSync` does not run asynchronous validators, and instead skips them. This...

I have a discriminator called `BProduct` which is a discriminator off the base of `AProduct`. And this discriminator has a property I'm trying to add a relation to: ``` BProductTC.getFieldOTC("metadata").addRelation(...

I am experiencing a limitation with the addRelation function when working with nested fields in my schema. Specifically, addRelation does not seem to support fields that are deeply nested using...

I'm trying to use the `sort` arg on a `findMany` query but it's not working as expected: GraphQL query: ``` noteMany(sort: $sort) { _id } ``` Variables: ``` { "sort":...

``` DbinstanceTC.mongooseResolvers .pagination({ suffix: "Extended" }) .addArgs({ filterNodeInfo: DNSCNameTC.mongooseResolvers .pagination() .getArg("filter"), }) .addArgs({ filterEnvironmentLink: EnvironmentTC.mongooseResolvers .pagination() .getArg("filter"), }) .addFilterArg({ name: "isDatabaseEmpty", type: "Boolean", description: "Filter by empty or non-empty databases...