Commit Graph

65 Commits

Author SHA1 Message Date
Amit Saha
f3f210b523 Modify the field example to remove the use of interface 2015-11-20 16:25:18 +11:00
Amit Saha
295fba37d1 field example: use print() to keep Python 3 flake 8 happy 2015-11-20 11:55:32 +11:00
Amit Saha
932e3d8b00 Fix flake8 issues in field example 2015-11-20 11:47:10 +11:00
Amit Saha
7af41373a7 Example of querying a Python object 2015-11-20 11:19:22 +11: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
bf168e7b12 Use new syntax for fields and arguments 2015-11-11 22:16:37 -08:00
Syrus Akbary
7073208517 Django integration finished 2015-11-11 21:46:26 -08:00
Syrus Akbary
6f87720fc1 Improved tests and coverage 2015-11-10 17:50:11 -08:00
Syrus Akbary
d13d7c0f68 Improved django example 2015-11-02 19:36:49 -08:00
Syrus Akbary
0a395fec58 Improved python syntax 2015-11-02 19:28:06 -08:00
Syrus Akbary
d46e957863 Improved syntax. Added autolinter. Added automatic flake8 checker in tests. Fixed #17 2015-10-31 14:02:22 -07:00
Syrus Akbary
97a81120b7 Added mutations in examples 2015-10-30 00:44:21 -07:00
Syrus Akbary
b06f44ed73 Removed unnecessary meta in starters example 2015-10-28 01:51:35 -07:00
Syrus Akbary
3bc0f5f8eb Moved all the examples from tests to examples 2015-10-27 23:56:24 -07:00