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
Hello, I'm trying to use the _operators feature for filtering, but I can't get it to work: This is my package.json section: ``` { "graphql": "^14.0.2", "graphql-compose": "^9.0.7", "graphql-compose-connection": "^8.2.1",...
I was wondering if I can modify the updateOne or createOne generated resolvers to insert/update depending on whether the document exists. Usually, I would just create a custom resolver and...
Hello ! Before all, i've been fiddling with this library for a few months now, thank you for putting work into it ! That's a really nice idea. I've noticed...
Can we made it into the core of this tool by using Mongoose Watch Something like this ``` UserMD.watch().on("change", (data) => { if (data.operationType === "insert") { console.log("User inserted: ",...
I've putting some work into getting discriminator support for the composeMongoose function. Currently my approach is loosely based on the old system, (extending ObjectTypeComposer and building TCs which reflect the...
Bumps [semantic-release](https://github.com/semantic-release/semantic-release) from 18.0.1 to 19.0.3. Release notes Sourced from semantic-release's releases. v19.0.3 19.0.3 (2022-06-09) Bug Fixes log-repo: use the original form of the repo url to remove the need...
Bumps [semver-regex](https://github.com/sindresorhus/semver-regex) from 3.1.3 to 3.1.4. Release notes Sourced from semver-regex's releases. v3.1.4 Backport of ReDoS fix https://github.com/sindresorhus/semver-regex/commit/7712ba564d40da101cf2b2b33e6a910d9f2f57f4 Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will...
When creating a subscription resolver as follows: ``` const pubsub = require('@app/lib/pubSub') module.exports = { name: 'findManySubscription', kind: 'subscription', type: 'Chat', resolve: async payload => { return payload.updatePost }, subscribe:...
I have a schema with users that are part of an organization: ```js export const UserSchema = new Schema( { name: { type: String, required: true, trim: true }, ......
* Updated the test case for issue 376 so that it exposes at least one scenario where this error is occurring. I restructured the schema a bit and added further...