GraphQL & Relay for MySQL & Postgres via Sequelize
This major release changes the general philosophy of the project to rely on batching rather than includes. Almost all use cases will experience great performance improvements. There is a minor performance degradation in cases where the query is only one level deep with a single belongsTo relation.
simpleAST
from resolver
info (use simpleAST user-side now)relay connections now support an after
argument for post result manipulation, format of result is {source, args, where, edges, pageInfo}
Support cache
argument for attributeFields
to resolve issues with calling attributeFields
multiple times on the same Model when Model has an ENUM field.
Now supports paginating relay connections with MySQL
context is king (removes rootValue in favor of context + info)
Now supports async before/after
Now properly supports non-field (expression) orders in relay connections. Thanks to @brad-decker
Support graphql 0.5.0, context/info changes. Now follows SEMVER regardless of graphql/graphql-relay not following, so expect bumps often.
Adds option allowNull
to attributeFields
Adds support for defaultAttributes
to resolvers. https://github.com/mickhansen/graphql-sequelize#default-attributes