Commit Graph

41 Commits

Author SHA1 Message Date
Syrus Akbary
0db5b1cfbc Move resolver to interface too 2016-06-06 02:03:57 -07:00
Syrus Akbary
0f10ae884f Allow InputObjectType instances to be Type proxies 2016-06-04 16:04:21 -07:00
Syrus Akbary
ab72393e66 Added InputField, InputObjectType. Improved Field implementation 2016-06-04 15:22:10 -07:00
Syrus Akbary
9cf4da5fcb Improved simple example 2016-06-04 14:14:56 -07:00
Syrus Akbary
89790e7508 Added Enum type 2016-06-04 14:06:16 -07:00
Syrus Akbary
a1454fdd74 Fixed resolve context 2016-06-04 12:48:08 -07:00
Syrus Akbary
6c42877758 Improved starwars tests 2016-06-04 11:21:33 -07:00
Syrus Akbary
c260bd4181 Updated GraphQL SQLAlchemy version 2016-05-18 21:00:22 -07:00
Syrus Akbary
7be5b83fdf Fixed PEP8 + Python 3 print 2016-05-11 23:54:15 -07:00
evalette
492ffdace4 remove ending coma 2016-04-13 14:41:04 +02:00
evalette
74a4043899 update flask sqlalchemy examples 2016-04-13 14:16:01 +02:00
Syrus Akbary
3bef8762e7 Improved Python syntax to be PEP8 complaint 2016-04-02 19:40:48 -07:00
Syrus Akbary
407b9ea550 Added Enum class type 2016-02-01 13:28:52 -08:00
Syrus Akbary
87d455637c Updated Flask-GraphQL requirement 2016-01-28 12:36:07 -08:00
Syrus Akbary
96c1726407 Added SQLAlchemy documentation and fixed installs 2016-01-23 14:40:08 -08:00
Syrus Akbary
ab9a142075 Improved initial query 2016-01-23 13:14:10 -08:00
Syrus Akbary
5697ef98e9 Improved Flask SQLAlchemy example 2016-01-23 13:12:01 -08:00
Syrus Akbary
553982c3fc Updated README in flask sqlalchemy example 2016-01-23 11:04:11 -08:00
Syrus Akbary
6cbb9bc602 Updated Flask SQLAlchemy example 2016-01-23 11:00:00 -08:00
Syrus Akbary
d4ecd504e4 Added simple flask example 2016-01-22 21:44:41 -08:00
Syrus Akbary
328652b820 Renamed cookbook to cookbook Django 2016-01-02 21:23:40 +01:00
Syrus Akbary
69062aa6d1 Improved PEP8 syntax and order imports 2016-01-02 21:19:15 +01:00
Adam Charnock
442998cbb3 Adding Readme file to cookbook example project 2015-12-31 13:16:23 +00:00
Adam Charnock
c70b5f2f0d Adding cookbook example app demoing new django functionality 2015-12-31 03:01:36 +00:00
Syrus Akbary
53de24b705 Improved django example 2015-12-03 18:34:38 -08:00
Syrus Akbary
b564e144df Improved examples. Fixed #45 2015-11-22 17:29:30 -08:00
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