graffiti-mongoose icon indicating copy to clipboard operation
graffiti-mongoose copied to clipboard

⚠️ DEVELOPMENT DISCONTINUED - Mongoose (MongoDB) adapter for graffiti (Node.js GraphQL ORM)

Results 32 graffiti-mongoose issues
Sort by recently updated
recently updated
newest added

Pagination that involves ordering doesn't work. Do you have any idea how to fix it elegantly? Thanks.

[DataLoader](https://github.com/facebook/dataloader) can improve performance take a look on this [article](https://blog.jacobwgillespie.com/from-rest-to-graphql-b4e95e94c26b#.3e0478f6u) in the section about Data Loader

Hi, newbie question here, how can I query by model reference? I would like to query all `Topic`-models of certain `Forum`, my models (simplified): ``` var Topic = new Schema({...

Following the Mongoose Schema provides us with an incredibly easy and smooth way to generate a GraphQL Schema. However, there are some instances where we may want to use a...

## Overview of the Issue I cannot easily update a field on an object that currently has a value to be `null`. It seems this is because the `graphql-js` library...

The current customMutations and customQueries are powerful, but the types aren't exposed so it is impossible to use the generated graphQLTypes on customQueries/Mutations. example: ``` javascript const customMutations = {...

Hey, I'm getting this error when trying simple pagination from GrapihQL. I also posted this on #90 but since it's closed - I think no one would look at it...

@tothandras said: I have started to split the project into a general adapter (that waits a graffiti model as input) and a mongoose specific one. Did you share somewhere a...

The field hook example shows creation of a new model using mongoose.schema, how do I add field hooks to existing models? Eg. If I want to format the a timestamp...

From the docs, resolve hooks can be added per field in the schema. For mutations, we define it through a top level hook object we pass to getSchema. Is there...