Releases: mickhansen/graphql-sequelize
v0.21.0
Adds custom node type resolvers
v0.19.0
adds support for edgeFields
see graphql-sequelize relay connection docs: https://github.com/mickhansen/graphql-sequelize/blob/master/docs/relay.md#connections
v0.18.0
sequelizeConnection
now also returns a resolveEdge
method that can be passed a mode instance to help with resolving edges in mutation.
No good solution for how to handle cursors yet (#118) so resolveEdge currently generates a cursor with the default order by argument defined on the connection (id by default).
v0.17.0
It's now possible to disable resolver attribute filtering with resolver.attributeFiltering = false
or resolver(Target, {attributeFiltering: false})
.
Usefull to support non-sequelize defined graphql fields that have dependencies.
v0.16.3
- fix: properly support model relay connections (via model target and before)
v0.15.0
added support for connectionFields and adding where queries to connections
v0.12.0
- attributeFields map and globalId options
v0.11.2
Now supports nested includes for nested connections.
Practically this means that only a single query should be executed for nested connections (if possible) rather than 1+N.