mongo-graphql-starter

Creates a fully functioning, performant, extensible GraphQL endpoint from a Mongo DB. Supports middleware, Mongo 4 transactions.

MIT License

Downloads
105
Stars
423
Committers
8
mongo-graphql-starter - 0.6.13

Published by arackaf over 6 years ago

Improve validation of provided _id arg in the update single mutation. Will now allow a missing value if the middleware adds on in.

mongo-graphql-starter - 0.6.12

Published by arackaf over 6 years ago

Added the ability to create nested relationship objects in the create mutations. Plus some minor cleanup and bug fixes.

mongo-graphql-starter - 0.6.11

Published by arackaf over 6 years ago

Fix a bug so that relationship objects will load off of a nested object, ie something created with arrayOf or objectOf

mongo-graphql-starter - 0.6.10

Published by arackaf over 6 years ago

Fix bug whereby regexes were not being escaped for string contains, startsWith, and endsWith filters.

mongo-graphql-starter - 0.6.9

Published by arackaf over 6 years ago

Small tweaks and fixes.

mongo-graphql-starter - 0.6.8

Published by arackaf over 6 years ago

You can now add objects right to relationship arrays from update mutations.

mongo-graphql-starter - 0.6.7

Published by arackaf over 6 years ago

Sorting options in collection relationships

mongo-graphql-starter - 0.6.6

Published by arackaf over 6 years ago

Options to exclude certain queries and mutations from the generated endpoint

mongo-graphql-starter - 0.6.5

Published by arackaf over 6 years ago

Bug fixes: success: true was not being returned from creations, and errors would sometimes be raised when creating a new object that had relationships

mongo-graphql-starter - 0.6.4

Published by arackaf over 6 years ago

Fixed a bug whereby creations would error if you didn't select anything from the new object

mongo-graphql-starter - 0.6.3

Published by arackaf over 6 years ago

Add manual query args to get endpoint.

Remove same from filters input (or what gets passed to OR).

Small code cleanup.

mongo-graphql-starter - 0.6.2

Published by arackaf over 6 years ago

0.6.2 Improved error messages for Mongo operations, and lifecycle hook processing.

mongo-graphql-starter - 0.6.1

Published by arackaf over 6 years ago

Small bug fix for ADDTOSET

mongo-graphql-starter - 0.6.0

Published by arackaf over 6 years ago

ADDTOSET mutation added for primitive array types. See the docs for more info.

For arrays of other types, the updates argument is now called Updates rather than _Update. For example

comments_UPDATE: {index: 0, Updates: { upVotes_INC: 1 } }

instead of

comments_UPDATE: {index: 0, Comment: { upVotes_INC: 1 } }

This is a breaking change, hence the minor version bump.

mongo-graphql-starter - 0.5.0

Published by arackaf almost 7 years ago

Bulk updates, multi updates, and a slightly different update arg for single updates, which is why I bumped the minor version on this one.

That should be the only breaking change, though. For single updates, the <Type> argument is now Updates.

mongo-graphql-starter - 0.4.7

Published by arackaf almost 7 years ago

Bug fixes, and an @std/esm upgrade.

mongo-graphql-starter - 0.4.6

Published by arackaf almost 7 years ago

Count filter for array types

mongo-graphql-starter - 0.4.5

Published by arackaf almost 7 years ago

Tweak schema generation for manual query args

mongo-graphql-starter - 0.4.4

Published by arackaf almost 7 years ago

Add custom query args

mongo-graphql-starter - 0.4.3

Published by arackaf almost 7 years ago

containsAny filters added for int, float, and string arrays.