Commit Graph

128 Commits

Author SHA1 Message Date
Patrick Arminio
93bbc194bf Add missing new line 2017-06-29 09:59:21 +01:00
Patrick Arminio
5c3306e78d Return empty errors when successful 2017-06-26 18:16:55 +01:00
Patrick Arminio
000ef6c42e Fix result from mutation 2017-06-26 18:03:01 +01:00
Patrick Arminio
7888fa76fb Restore django filter check 2017-06-26 15:31:34 +01:00
Patrick Arminio
1a04d608ed Add support for MultipleChoiceField 2017-06-26 14:32:57 +01:00
Patrick Arminio
510ee9383e Add support for JSONField 2017-06-26 14:28:03 +01:00
Patrick Arminio
0e2c736c74 Add test for image field 2017-06-26 14:26:26 +01:00
Patrick Arminio
66d1875eb7 Fix missing path 2017-06-26 14:25:57 +01:00
Patrick Arminio
b500ffb8b0 Add test for IPAddressField 2017-06-26 14:24:16 +01:00
Patrick Arminio
47c5dfcab7 Add test for FilePathField 2017-06-26 14:23:45 +01:00
Patrick Arminio
772e2d114a Add test for file field 2017-06-26 14:23:17 +01:00
Patrick Arminio
a7c3337903 Add test for duration field 2017-06-26 14:22:38 +01:00
Patrick Arminio
68f6281ec8 Add support for dict field 2017-06-26 14:19:55 +01:00
Patrick Arminio
f747102e35 Add support for rest framework List Field 2017-06-26 12:14:04 +01:00
Patrick Arminio
6de3bbc352 Small test refactor 2017-06-26 12:11:35 +01:00
Patrick Arminio
d10895d9ce Refactor converter 2017-06-26 11:36:48 +01:00
Patrick Arminio
c3899248af Use six.with_metaclass to support python 2.7 2017-06-26 09:19:49 +01:00
Patrick Arminio
14bc1cdb92 Add SerializerMutation base class 2017-06-26 09:19:49 +01:00
Patrick Arminio
2fd3cb032c Fix import on python 2 2017-06-26 09:19:49 +01:00
Patrick Arminio
fb2af7067f Initial implementation of serializer field converter 2017-06-26 09:19:49 +01:00
Syrus Akbary
7c52aa3c7f Merge pull request #180 from arianon/master
Make DjangoConnectionField compatible with Promise-based iterables.
2017-06-24 15:44:51 -07:00
Syrus Akbary
3667157e4a Merge pull request #145 from dotsbb/fix-too-broad-exception
Wrong error message "invalid JSON" when "RequestDataTooBig" raised
2017-06-24 15:44:15 -07:00
Syrus Akbary
7eb4106e7c Merge pull request #202 from patrick91/feature/up-django
Remove support to django 1.6 and 1.7
2017-06-24 15:43:35 -07:00
Patrick Arminio
82055ac109 Add missing imports 2017-06-23 13:05:11 +01:00
Patrick Arminio
712d57e043 Delete RelatedObject import 2017-06-23 12:51:19 +01:00
Patrick Arminio
7fd6125199 Fix compatibility with pypy 2017-06-23 12:48:32 +01:00
Patrick Arminio
245ebe3d91 Remove some compatility layers for django 1.6 2017-06-23 12:32:43 +01:00
Jacob Foster
95510987f1 Reorganize for clarity 2017-05-25 11:15:13 -05:00
Jacob Foster
74e4e1aa77 Drop reverse flag, remove duplicates in get_model_fields 2017-05-25 11:01:29 -05:00
Jacob Foster
ca06d74195 Make test sort for stable comparison 2017-05-22 17:36:00 -05:00
Jacob Foster
cfe38ae208 Add tests 2017-05-22 17:20:56 -05:00
Jacob Foster
7a765537e9 Only evaluate reverse M2Ms in get_reverse_fields 2017-05-22 16:43:20 -05:00
arianon@openmailbox.org
bfcac1d48c Use Promise.then instead of Promise.get on DjangoConnectionField 2017-05-19 19:33:00 -04:00
arianon@openmailbox.org
4350582c52 Support Connections created from Promises 2017-05-19 19:12:28 -04: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
Alexey Subbotin
33b2b42e6f Rewrite unit test to make it working on all versions of django 2017-04-12 13:04:03 +02:00
Alexey Subbotin
a9f34dab93 request.body might raise RawPostDataException, RequestDataTooBig, UnreadablePostError exceptions which are not related to invalid JSON data 2017-04-12 12:43:21 +02: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