Syrus Akbary
5661db88d1
Merge pull request #156 from aaxelb/master
...
Fix #87 : Don't create duplicate Enums for fields with choices
2017-11-14 21:14:51 -08:00
Syrus Akbary
670437d756
Merge branch 'master' into patch-1
2017-11-14 21:05:47 -08:00
Paul Bailey
6cfd5b2854
added line ending
2017-11-14 22:10:26 +00:00
Paul Bailey
0a660e5e56
Merge remote-tracking branch 'upstream/master'
2017-11-14 22:04:02 +00:00
Syrus Akbary
568073a090
Merge pull request #325 from urbandove/master
...
Fix infinite recursion when sublassing DjangoFilterConnectionField
2017-11-14 13:16:26 -08:00
Paul Bailey
345fe877c4
added ModelSerializer tests
2017-11-13 20:35:00 +00:00
Paul Bailey
c72e7e55eb
added ModelSerializer tests
2017-11-13 20:33:12 +00:00
=
3f08ed629c
Fix infinite recursion when sublassing DjangoFilterConnectionField and merging querysets
2017-11-13 14:56:25 -05:00
Samuel Cormier-Iijima
1db1cbdd9c
Fix passing request context to filterset creation
...
Currently this code throws an error about `context` not being defined.
2017-11-13 12:47:55 -05:00
Paul Bailey
3d30038795
Merge remote-tracking branch 'upstream/master'
2017-11-13 16:10:56 +00:00
Paul Bailey
75e11a8195
add created field to test
2017-11-13 16:06:07 +00:00
Syrus Akbary
bc59d0ad8e
Merge pull request #232 from basilfx/master
...
Pass context object to FilterSet for request-baed filtering
2017-11-13 02:39:18 -08:00
Syrus Akbary
b8fb64d893
Merge branch 'master' into fix-select-related
2017-11-13 02:31:15 -08:00
Syrus Akbary
94e2a5c49f
Merge pull request #313 from BossGrand/feature/allow_abstract_connections
...
Allow DjangoObjectType to use an Abstract Connection Class
2017-11-13 02:23:46 -08:00
Paul Bailey
e05f41af40
fixed indentation
2017-11-12 23:10:29 +00:00
Paul Bailey
e7391937dd
fixes #322 , fixed incorrect serializer instance usage
2017-11-10 21:49:48 +00:00
Charles Haro
4013f78ecb
fix default_queryset overriding queryset when merging queries
2017-11-03 12:26:49 -07:00
Charles Haro
6d0837e7cb
add test to show annotation not being perservered
2017-11-03 12:26:33 -07:00
Charles Haro
5491e2cb00
add test to show .reverse() not being perserved
2017-11-03 12:25:22 -07:00
Abram Booth
b5e7614b05
More specific None check.
2017-10-31 09:33:16 -04:00
Charles Haro
2a39f5d8ea
Allow abstract Connection Class to DjangoObjectType
...
referred to as connection_class, it will instantiate the connection from the provided class or default to graphene.Connection if not supplied
2017-10-30 14:35:29 -07:00
Syrus Akbary
5051d3bb61
Fixed lint
2017-10-25 10:54:13 -07:00
Syrus Akbary
de3947351b
Updated graphene-django to 2.0 🎉
2017-10-25 10:49:37 -07:00
Jacob
1d76db8164
Use super for base queryset logic
2017-10-14 13:23:08 -05:00
Cameron Dawson
69cec060d8
Fix select_related with filtering
2017-10-14 13:23:08 -05:00
Ivan Belokobylskiy
459d7df42b
Access to batch endpoint without parameters fixed
...
ValueError: max() arg is an empty sequence exception fixed
2017-09-27 18:46:32 +03:00
Syrus Akbary
55f9d72ecc
Updated dev version
2017-09-01 01:19:22 -07:00
Syrus Akbary
2a73e5e479
Fixed flake
2017-09-01 00:52:57 -07:00
Syrus Akbary
728bcacb0e
Merge pull request #261 from q3aiml/fix-serializermutation-regression
...
fix various SerializerMutation regressions
2017-09-01 00:47:34 -07:00
Andy Clayton
c130490b4f
ensure SerializerMutation.errors is None on success in 2.x
...
Upon success the result was correct but also included:
"errors": [
{
"message": "User Error: expected iterable, but did not find one
for field <SerializerMutation_Subclass>Payload.errors."
}
]
This seemed to be due to Payload.errors defaulting to graphene.List
rather than unset or None. Unsure what exactly changed with 2.x to break
this, so I welcome a better fix, but explicitly setting errors to None
also seems easy enough.
2017-08-31 12:37:54 -05:00
Andy Clayton
cc58b91e43
fix SerializerMutation regression for 2.x
...
72529b7
seems to break SerializerMutation by commenting out support for
input fields. As a result input only ever had a clientMutationId field.
2017-08-31 12:21:50 -05:00
Syrus Akbary
a4cc360184
Merge branch 'master' into fix-deprecation-warnings
2017-08-29 22:33:10 -07:00
Abram Booth
be20450a66
Don't break on inherited choices fields.
...
Store converted Django fields in the registry, so choices enums are not
created multiple times when inherited by child models.
2017-08-24 12:49:02 -04:00
Ed Morley
b0df510872
Remove usages of deprecated field.rel
...
Since they were only required for Django <1.8 and cause the following
deprecation warnings:
```
utils.py:61: RemovedInDjango20Warning: Usage of field.rel has been deprecated. Use field.remote_field instead.
if hasattr(field, 'rel'):
utils.py:63: RemovedInDjango20Warning: Usage of ForeignObjectRel.to attribute has been deprecated. Use the model attribute instead.
return field.rel.to
```
Fixes #242 .
2017-08-14 14:01:04 +01:00
Syrus Akbary
872ce3922e
Added support for wheel package
2017-07-31 22:46:27 -07:00
Syrus Akbary
3d58148f03
Code adapted to new resolver API
2017-07-28 09:43:27 -07:00
Bas Stottelaar
4bdcf054eb
Pass context object to FilterSet instance to support request-baed filtering ( fixes #203 ).
2017-07-28 16:46:39 +02:00
Syrus Akbary
64118790ff
Fixed list resolver
2017-07-26 23:41:34 -07:00
Syrus Akbary
6ceb07c51c
Improved resolver consistency
2017-07-26 23:36:08 -07:00
Syrus Akbary
72529b70bb
Fixed all tests and flake issues
2017-07-24 23:42:40 -07:00
Syrus Akbary
48bcccdac2
Improved integration with Graphene 2.0
2017-07-24 22:27:50 -07:00
Syrus Akbary
18db46e132
Removed Meta inheritance in favor of __init_subclass_with_meta__
2017-07-24 22:27:26 -07:00
Syrus Akbary
1bddae1ced
Merge pull request #214 from khankuan/patch-3
...
Updated graphiql version for new features
2017-07-23 21:15:50 -07:00
Syrus Akbary
6ad64ddbef
Merge pull request #186 from patrick91/feature/rest-framework
...
Support for Django Rest Framework serializers
2017-07-23 21:12:20 -07:00
Jacob Foster
afbe6c90b7
Add nested model mutation tests
2017-07-18 14:02:29 -05:00
Jacob Foster
81a6dff9d0
Update field converter tests
2017-07-18 14:02:28 -05:00
Kuan
2790f3bc02
Updated graphiql version for new versions
2017-07-13 15:14:06 -07:00
Jacob Foster
ee23638378
Add converters for datetime fields
2017-07-11 13:35:12 -05:00
Jacob Foster
302ea0d3cf
Account for nested ModelSerializers
2017-07-11 13:29:30 -05:00
Patrick Arminio
93bbc194bf
Add missing new line
2017-06-29 09:59:21 +01:00