graphql-sequelize

GraphQL & Relay for MySQL & Postgres via Sequelize

MIT License

Downloads
98.3K
Stars
1.9K
Committers
66

Bot releases are hidden (Show)

graphql-sequelize -

Published by mickhansen over 8 years ago

Adds custom node type resolvers

graphql-sequelize -

Published by mickhansen over 8 years ago

adds support for edgeFields
see graphql-sequelize relay connection docs: https://github.com/mickhansen/graphql-sequelize/blob/master/docs/relay.md#connections

graphql-sequelize -

Published by mickhansen over 8 years ago

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 (https://github.com/mickhansen/graphql-sequelize/issues/118) so resolveEdge currently generates a cursor with the default order by argument defined on the connection (id by default).

graphql-sequelize -

Published by mickhansen over 8 years ago

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.

graphql-sequelize -

Published by mickhansen almost 9 years ago

  • fix: properly support model relay connections (via model target and before)
graphql-sequelize -

Published by mickhansen almost 9 years ago

added support for connectionFields and adding where queries to connections

graphql-sequelize -

Published by mickhansen almost 9 years ago

  • attributeFields map and globalId options
graphql-sequelize -

Published by mickhansen about 9 years ago

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.

graphql-sequelize -

Published by mickhansen about 9 years ago

Adds fragment support #25

graphql-sequelize -

Published by mickhansen about 9 years ago

Fixes ENUM type naming.
Adds preliminary Relay connection support, see PR/tests for documentation #18

graphql-sequelize -

Published by mickhansen about 9 years ago

Adds BIGINT support to the type mapper.