Commit Graph

414 Commits

Author SHA1 Message Date
Syrus Akbary
2d1ab4b92a Merge pull request #82 from gamingexperience/fix/node-filtering
Fixes filtering in nested nodes.
2017-01-14 18:35:52 -08:00
Nick Hudkins
0200b3244c Merge branch 'master' into recursive-nodes 2017-01-13 10:16:13 -05:00
Pablo Chinea
89d0f0ca92 Handles multiple collisions with the same key. 2017-01-05 09:49:26 +00:00
Pablo Chinea
2c26774c62 Avoid collisions in choices names conversion. 2017-01-04 16:23:17 +00:00
Pablo Chinea
16a0d9ce58 Fixes identation in queries test file. 2016-12-30 12:27:45 +00:00
Pablo Chinea
b5a450cb6d Fixes nested node test when django-filter is not installed. 2016-12-30 09:57:50 +00:00
Pablo Chinea
dfb55cda6b Adds test for nested node filtering. 2016-12-30 09:34:59 +00:00
Pablo Chinea
b26f914b54 Fixes filtering in nested nodes. 2016-12-29 15:40:12 +00:00
momamene
45542b6a93 Remove meaningless guard 2016-12-14 12:13:11 +00:00
momamene
8bb55ed79d Get name of reverse_fields from model.__dict__ 2016-12-14 08:13:46 +00:00
Paul Bailey
aa6edfc62c Merge remote-tracking branch 'upstream/master' 2016-11-28 12:55:20 -05:00
Paul Bailey
10699c0b6b added time field 2016-11-23 12:25:59 -05:00
Paul Bailey
402cd645e8 added time field test 2016-11-23 12:24:53 -05:00
Paul Bailey
509645d3bd added time field test 2016-11-23 12:07:40 -05:00
Paul Bailey
91365ff670 added timefield support 2016-11-23 11:29:04 -05:00
Syrus Akbary
9216772315 Removed unused imports 2016-11-23 02:30:14 -08:00
Syrus Akbary
b3fbac5818 Fixed tests 2016-11-23 02:28:21 -08:00
Syrus Akbary
8dfe7bbcf5 Remove filter order_by as Django Filters have deprecated it in 1.0 2016-11-23 02:15:05 -08:00
Syrus Akbary
48993ddca0 Fixed order_by 2016-11-23 01:20:10 -08:00
Tony Angerilli
207f4ebb41 added a test and made the type property better 2016-11-14 23:44:50 -08:00
Syrus Akbary
d8567f1c58 Fixed JSONField import only in Django 1.9+. Fixed #40 2016-11-14 23:07:45 -08:00
Syrus Akbary
96236408c5 Fixed lint issue 2016-11-14 22:34:49 -08:00
Syrus Akbary
5289cd06d7 Improved choice Enum converter 2016-11-14 22:30:20 -08:00
Syrus Akbary
854aa4aa9b Fixed tests 2016-11-14 22:30:20 -08:00
Tony Angerilli
dc6e8f110a fix typo 2016-11-14 10:40:47 -08:00
Tony Angerilli
73f4a92b4f Merge branch 'master' into recursive-nodes 2016-11-14 00:32:56 -08:00
chaffeqa
a6d3887fb3 Fix missing operation_name warning 2016-11-11 14:35:41 -05:00
Timothy Laurent
1fdd7756ec better endswith 2016-11-10 10:16:44 -08:00
Timothy Laurent
aa6be2c527 cast name to string 2016-11-10 00:19:35 -08:00
Timothy Laurent
6801b69ce9 don\'t use fields that end in a plus 2016-11-09 23:56:14 -08:00
Syrus Akbary
a7caad0cf4 Merge pull request #38 from TangoAgency/batch
Add support for batching several requests into one
2016-11-02 20:48:10 -07:00
Michał Ochman
6bd89f2c78 Fix UnboundLocalError occurrences 2016-10-31 12:16:58 +01:00
Michał Ochman
0a18558bf6 Add support for batching several requests into one
Batch format compatible with ReactRelayNetworkLayer (https://github.com/nodkz/react-relay-network-layer)
2016-10-31 12:03:56 +01:00
Beau Barker
87422a0e40 Display variables as JSON in GraphiQL
Closes #36
2016-10-31 13:05:30 +11:00
Tony Angerilli
3e5ae5a3d1 don’t try to access the type until after initialization
this allows for fields in a node (using a DjangoFilterConnectionField) that reference themselves
2016-10-21 17:41:07 -07:00
cph
62d3eb911a add indent support for graphql_schema command 2016-10-17 15:08:04 +08:00
Syrus Akbary
60bcc0beef Use filter label as argument description. Fixed #16 2016-10-15 18:21:54 -07:00
Syrus Akbary
775221c427 Fixed returns in class init 2016-10-15 18:19:34 -07:00
Syrus Akbary
d73f4aa235 Added support for SimpleLazyObject. Fixed #22 2016-10-15 17:40:12 -07:00
Syrus Akbary
8136223bb1 Added duration field and improved UUID conversion 2016-10-15 16:43:27 -07:00
Syrus Akbary
459270cc09 Fixed tests 2016-10-15 16:04:32 -07:00
Syrus Akbary
3a9ffba560 Merge pull request #23 from morgante/fix_choice_enums
Fix #19 by using choice keys as enum keys, not choice descriptions
2016-10-15 15:58:29 -07:00
Morgante Pell
5ad21f1765
Fix #19 by using choice keys as enum keys, not choice descriptions 2016-10-13 22:01:54 -04:00
Morgante Pell
900354837e
Fix id lookup to handle cases where the primary key of the Django model is not called ID 2016-10-13 02:52:58 -04:00
Syrus Akbary
1a728e4e88 Fixed tests 2016-09-22 20:49:51 -07:00
Syrus Akbary
b8f9fec674 Added required conversion to model and form fields. Fixed #2 2016-09-22 20:03:47 -07:00
Syrus Akbary
7fbc3e69b1 Improved Django List retreival and added extra tests. 2016-09-21 19:34:30 -07:00
Syrus Akbary
9cfe337032 Merge pull request #4 from DeskConnect/to-many-field
Added a DjangoToManyField to handle to-many relationships
2016-09-21 19:18:31 -07:00
Syrus Akbary
b65afdc8c9 Merge pull request #6 from BossGrand/master
Fixed a bug that was causing graphql_schmea command to not import properly
2016-09-21 19:12:52 -07:00
BossGrand
1cb5f24f5b Fixed a bug that was causing graphql_schmea command to not import properly 2016-09-21 14:57:47 -07:00
Syrus Akbary
c8c403edfd Fixed django-filter integration (0.15) 2016-09-20 23:50:28 -07:00
Conrad Kramer
17178cfcbf Added a DjangoToManyField to handle to-many relationships
To-many relationships return a manager, which needs to be turned
into an iterable (its queryset) using `maybe_queryset`.
2016-09-20 21:25:05 -07:00
Syrus Akbary
34f3c72da6 Updated middleware view management 2016-09-20 00:08:14 -07:00
Syrus Akbary
317c8ceec4 Ensure CSRF cookie is set. Updated dev version 2016-09-19 23:14:59 -07:00
Syrus Akbary
f806fefff3 Fixed tests 2016-09-19 22:53:56 -07:00
Syrus Akbary
8caa2cd00f Fixed middleware 2016-09-19 22:38:27 -07:00
Syrus Akbary
70dbd4b512 Improved PEP8 syntax 2016-09-19 22:15:10 -07:00
Syrus Akbary
d11719507c Fixed tests 2016-09-19 22:11:48 -07:00
Syrus Akbary
3aa929fdc9 Moved django-graphql-view and django-graphiql into graphene-django 😎 2016-09-19 22:04:23 -07:00
Syrus Akbary
459e390b47 Fixed connection field if django-filter is not installed 2016-09-17 18:41:14 -07:00
Syrus Akbary
5cba3f67fe Fixed OneToOneField Django 1.6+ bug 2016-09-17 18:11:38 -07:00
Syrus Akbary
7756b0df8f Fixed Python3 tests 2016-09-17 17:28:41 -07:00
Syrus Akbary
4e23c3ccf6 Improved python syntax and sorts (pep8). Improved Readme 2016-09-17 17:09:56 -07:00
Syrus Akbary
0434899b4e Isolated Graphene Django in a new package 2016-09-17 16:31:17 -07:00