Commit Graph

1482 Commits

Author SHA1 Message Date
Syrus Akbary
f69665dcd8 Flake8 improvements and README update 2015-11-19 19:17:02 -08:00
Syrus Akbary
bb170f1ca1 Updated version 2015-11-19 19:15:49 -08: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
Syrus Akbary
3712542566 Fixed PEP8 syntax 2015-11-19 08:37:15 -08:00
Syrus Akbary
b91ae4b0fb Added subscription support. Fixed #35 2015-11-19 08:37:15 -08:00
Syrus Akbary
4a591354f1 Wrap or not wrap. Root is the question 2015-11-19 08:37:03 -08:00
Syrus Akbary
1795ed516c Merge branch 'master' of github.com:graphql-python/graphene 2015-11-18 17:55:49 -08:00
Syrus Akbary
f119c3b2fc Added schema str representation. Fixed #32 2015-11-18 17:55:33 -08:00
Syrus Akbary
42df4b6227 Merge branch 'master' of github.com:graphql-python/graphene 2015-11-18 17:54:42 -08:00
Syrus Akbary
fca0ab4f4c Added schema str representation 2015-11-18 17:53:11 -08:00
Syrus Akbary
6b379954d0 Merge pull request #36 from inklesspen/get_node_info
Add the info parameter (ResolveInfo) to get_node() calls.
2015-11-18 15:40:23 -08: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
a970d99b69 Fixed flake8 syntax 2015-11-17 17:35:19 -08:00
Syrus Akbary
4ab8e4e7c6 Updated version 2015-11-17 17:29:35 -08:00
Syrus Akbary
266dd5efe0 Fixed relay connections/edges field mapping. Improved testing 2015-11-17 17:25:18 -08:00
Syrus Akbary
9b635c848c Merge pull request #21 from graphql-python/0.4.0
Ride to 0.4.0
2015-11-16 19:55:26 -08:00
Syrus Akbary
46cfe90a75 Updated version 2015-11-16 19:52:54 -08:00
Syrus Akbary
00c9cc95d4 Improved test syntax 2015-11-16 19:49:40 -08:00
Syrus Akbary
24cd190f95 Added support for UnionTypes 2015-11-16 19:48:51 -08:00
Syrus Akbary
d2ca8a96a9 Fixed node id fetching when cannot decode. Fixed #14 2015-11-15 01:13:56 -06:00
Syrus Akbary
34d6d07fc3 Improved tests 2015-11-15 00:52:22 -06:00
Syrus Akbary
83589a21b8 Merge branch '0.4.0' of github.com:graphql-python/graphene into 0.4.0 2015-11-15 00:25:11 -06:00
Syrus Akbary
d8ca3c089a Cleaned tests 2015-11-13 19:51:37 -08:00
Syrus Akbary
bebdf5cf9b Refactored decorators into utils 2015-11-13 19:44:01 -08:00
Syrus Akbary
dfc2bc4ac3 Improved tests 2015-11-13 19:38:06 -08:00
Syrus Akbary
5282627537 Rewrite imports to be relative instead of absolute 2015-11-13 18:59:02 -08:00
Syrus Akbary
f4a8d53409 Remove unused code. Add more tests 2015-11-13 18:45:11 -08:00
Syrus Akbary
5be22dfc0c Merge pull request #26 from jhgg/use-graphql-django-view
Use graphql django view
2015-11-13 15:41:14 -08:00
Jake
57ba5e71f9 Remove redundant tests & fix tox. 2015-11-13 17:15:42 -05:00
Jake
4e08819094 Merge remote-tracking branch 'graphql-python/0.4.0' into use-graphql-django-view 2015-11-13 17:08:12 -05:00
Jake
77a588a5b1 Fix handling of root value to be like Schema.execute. 2015-11-13 17:00:04 -05:00
Jake
49a7b15a47 move graphql-django-view to djanog extras. 2015-11-13 16:55:00 -05:00
Jake
5a1e014b9a Use graphql-django-view to handle GraphQLView 2015-11-13 16:53:35 -05:00
Syrus Akbary
9548d6932c Merge branch 'refs/heads/master' into 0.4.0
Conflicts:
	graphene/contrib/django/tests/test_views.py
	graphene/contrib/django/views.py
2015-11-13 11:52:28 -08:00
Syrus Akbary
5c4db65cc0 Merge pull request #24 from montemishkin/allow-graphql-content-type-in-django-view
added check for content-type "application/graphql" in django view
2015-11-13 11:30:26 -08:00
Monte Mishkin
3571f053bb removed extra parenthesis typo 2015-11-13 00:30:12 -08:00
Monte Mishkin
ac58ee15a4 added tests for allowing content-type "application/graphql" in django view 2015-11-13 00:24:52 -08:00
Monte Mishkin
e48598f4e6 added check for content-type "application/graphql" in django view 2015-11-12 23:41:01 -08:00
Syrus Akbary
cc8a494753 Improved arguments construction 2015-11-12 23:21:58 -08:00
Syrus Akbary
ae667f3915 Reuse objecttype fields 2015-11-12 23:18:17 -08:00
Syrus Akbary
1956c1fb03 Added NonNull and List to Types 2015-11-11 22:35:03 -08:00
Syrus Akbary
bf168e7b12 Use new syntax for fields and arguments 2015-11-11 22:16:37 -08:00
Syrus Akbary
a2ab008ead Fixed lint errors 2015-11-11 21:54:45 -08:00
Syrus Akbary
7073208517 Django integration finished 2015-11-11 21:46:26 -08:00
Syrus Akbary
a55222e107 Merge branch '0.4.0-cov' of github.com:graphql-python/graphene into 0.4.0-cov 2015-11-11 18:06:39 -08:00
Syrus Akbary
cf657b365c Improved django support 2015-11-11 17:33:37 -08:00
Syrus Akbary
b0f2b4dd55 Improved relay 2015-11-11 17:33:23 -08:00
Syrus Akbary
2fed5c7e4a Improved fields 2015-11-11 02:21:25 -08:00