Commit Graph

93 Commits

Author SHA1 Message Date
Jacob Foster
7a765537e9 Only evaluate reverse M2Ms in get_reverse_fields 2017-05-22 16:43:20 -05:00
Syrus Akbary
46a1ddedd8 Added RELAY_CONNECTION_MAX_LIMIT and RELAY_CONNECTION_ENFORCE_FIRST_OR_LAST settings
Relay connections will be limited to 100 records by default.
2017-04-15 02:15:17 -07:00
Syrus Akbary
cc03da0598 Moved tests to filter field tests 2017-04-15 01:17:53 -07:00
Syrus Akbary
5833cb83be Fixed filterset limit issue 2017-04-15 01:00:02 -07:00
Syrus Akbary
055c6e2359 Merge branch 'master' into fix-filter-and-resolver 2017-04-15 00:04:19 -07:00
Syrus Akbary
eb02f8781c Merge pull request #74 from momamene/fix-reverse-fields-name
#63 Get name of reverse_fields from model.__dict__
2017-03-15 21:37:48 -07:00
Sam Parkinson
46048cd218
Add tests for DjangoObjectType only/exclude_fields 2017-03-11 07:40:04 +11:00
Niall
2117cb2b01 Example for order_by being ignored 2017-03-06 20:19:39 +00:00
Niall
7210e308ec Fix test 2017-03-06 20:00:01 +00:00
Niall
fda876fdc2 Long-winded intersection using sets 2017-03-06 19:41:45 +00:00
Niall
e2284fefb5 Clean up 2017-03-06 18:20:31 +00:00
Niall
69457cffdf Attempt fix. Breaks tests 2017-03-06 18:13:40 +00:00
Niall
67804fdc09 Add broken test 2017-03-05 19:17:00 +00:00
Niall
7085437a12 Fix filtering with a resolver and DjangoFilter filter. 2017-03-05 17:13:09 +00:00
Syrus Akbary
1139507a14 Merge pull request #123 from HorizonXP/fix-batch-response-format
Remove payload key from response and stick to original format.
2017-03-04 18:25:12 -08:00
Xitij Ritesh Patel
f720912415 Update tests to expect new batch response format 2017-03-03 15:04:22 -05:00
Syrus Akbary
335339c7a8 Fixed Django 1.8 issue 2017-03-02 18:38:03 -08:00
Syrus Akbary
87f0c33983 Merge pull request #118 from gamingexperience/fix/node-filtery-efficiency
Avoids redundant filtering with non-nested nodes.
2017-03-02 18:04:06 -08:00
Syrus Akbary
4cc46736bf Simplified DjangoFilterConnectionField logic 2017-03-02 18:00:05 -08:00
Xitij Ritesh Patel
9eb339e2e3 Remove payload key from response and stick to original format. 2017-03-02 01:47:28 -05:00
Tony Angerilli
57dbcd34f4
Merge remote-tracking branch 'remote/master' into recursive-nodes 2017-02-28 23:40:46 -08:00
Pablo Chinea
7f471252da Avoids redundant filtering with non-nested nodes. 2017-02-23 14:24:25 +00:00
Syrus Akbary
2660de969f Improved batch view tests 2017-02-20 01:58:21 -08:00
Syrus Akbary
f217731066 Improved GraphQL batch view errors. 2017-02-20 01:58:21 -08:00
Syrus Akbary
0ec8d2c828 Merge pull request #104 from Tritlo/skip-registry
Allow nodes to skip the registry
2017-02-18 13:03:22 -08:00
Matthías Páll Gissurarson
aed7229bae Allow nodes to skip the registry 2017-02-02 20:29:21 +01:00
Nick Hudkins
15664bdc0b accept connections for DjangoFilterConnectionField 2017-01-27 10:47:56 -05:00
Tony Angerilli
e82ee8816c
Revert "adding the option of defining a filterset_class in the Meta class"
This reverts commit 9b1c1b4bad.
2017-01-23 22:18:09 -08:00
Elena
9b1c1b4bad adding the option of defining a filterset_class in the Meta class 2017-01-23 17:40:07 -08:00
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