Commit Graph

10 Commits

Author SHA1 Message Date
Daniel Farrell
d3a573cc8a Pass context to resolve methods
Also had to add a few deps to tox.ini to make tests run/pass
2016-05-17 17:23:30 -04:00
Syrus Akbary
7a27a9ef9f Fixed get_node 2016-05-11 23:47:10 -07:00
Syrus Akbary
c738d3db28 Added support for graphql 0.5.0 2016-05-10 00:42:18 -07:00
Alec Aivazis
1d44f5f918 updated to reflect changes to graphql-core 2016-05-06 08:55:17 -07:00
Tomek Główka
2e20cd8059 Fixed NodeField object_type string name argument. 2016-01-15 01:49:25 +01:00
Jon Rosebaugh
a79a76d3b9 Add the info parameter (ResolveInfo) to get_node() calls.
This allows request_context (or any other ResolveInfo data) to be used while getting nodes.
For example, some data might need to be hidden based on the user's authorization; you would use info.request_context for this.

Fixes #34.
2015-11-17 23:44:01 -05:00
Syrus Akbary
00c9cc95d4 Improved test syntax 2015-11-16 19:49:40 -08:00
Syrus Akbary
d2ca8a96a9 Fixed node id fetching when cannot decode. Fixed #14 2015-11-15 01:13:56 -06:00
Syrus Akbary
bf168e7b12 Use new syntax for fields and arguments 2015-11-11 22:16:37 -08:00
Syrus Akbary
b0f2b4dd55 Improved relay 2015-11-11 17:33:23 -08:00